patch the .bash_profile file