Difference between revisions of "Bash dot files"

From braindump
Jump to navigation Jump to search
Line 10: Line 10:
return
return
fi
fi
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -f ~/.profile ]; then
if [ -f ~/.profile ]; then
source ~/.profile
source ~/.profile
return
fi
fi

Revision as of 03:12, 26 January 2011

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 ~/.profile ]; then 
   source ~/.profile
   return
fi