Bash dot files

From braindump
Revision as of 03:03, 26 January 2011 by Uroesch (talk | contribs)
Jump to navigation Jump to search

Login:

source /etc/profile
if [ -f ~/.bash_profile ]; then
   source ~/.bash_profile
   return
fi 

if [ -f ~/.bash_login ]; then 
   source ~/.bash_login
   return
fi

if [ -f ~/.bashrc ]; then 
   source ~/.bashrc
fi
if [ -f ~/.profile ]; then 
   source ~/.profile
fi