Difference between revisions of "Bash dot files"

From braindump
Jump to navigation Jump to search
Line 14: Line 14:
source ~/.bashrc
source ~/.bashrc
fi
fi

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

Revision as of 03:04, 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 ~/.bashrc ]; then 
   source ~/.bashrc
fi

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