I.e., move all bash related configuration to bashrc, and call it from bash_profile. This should make things easier, I hope.