On 6 April 2011 11:04, David Sastre wrote: >> > On 4/5/2011 4:47 PM, philippe roux wrote: >> >> I have a file ~/.profile which contains some alias like >> >> and ./bash_profile file containing the lines > > When using bash as a login shell, the existence of .bash_profile > prevents from .profile being sourced.
True, but Philippe said he had this in .bash_profile: # source the users profile if it exists if [ -f "${HOME}/.profile" ] ; then source "${HOME}/.profile" fi Might be an idea for base-files actually, allowing for bash-specific settings in .bash_profile while having settings common across shells in .profile. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple