getting ~/.bashrc to be executed

Monday, November 8, 2010

If your ~/.bashrc is not getting executed every time you login, add these lines to your ~/.bash_profile file:

 # include .bashrc if it exists 
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

0 comments: