Bash dot files

From braindump
Revision as of 03:00, 26 January 2011 by Uroesch (talk | contribs) (Created page with "Login: source /etc/profile if [ -f ~/.bash_profile ]; then source ~/.bash_profile return fi if [ -f ~/.bash_login ]; then source ~/.bash_login return fi ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
   return
fi