Cleans up bash_profile patching.