Try to move anything from .profile to .bashrc becasue .profile is not always loaded. Like in cygwin