Just a quick tip for those on Macs who use bash. By default, your .bashrc file will not be source’ed when you open up a new terminal. To change that, add this to your .profile file:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
September 10th, 2009 View Comments
Just a quick tip for those on Macs who use bash. By default, your .bashrc file will not be source’ed when you open up a new terminal. To change that, add this to your .profile file:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
Or you could do what I do and just add your commands to .profile.
There's a small difference between the two files and when they're read. Old habits die hard.
Thank you so much! I was stumped as to what the hell was going on, but this cleared everything write up.
Thanks again!