2 ms·
Small super-pedantic note: the correct file 'so that it is set every time you log in' on both OS X and Linux would be .bash_profile. - .bashrc is run every tim
by nailer 12y ago
Small super-pedantic note: the correct file 'so that it is set every time you log in' on both OS X and Linux would be .bash_profile.
- .bashrc is run every time the shell is started (eg, subshells, su without -l or -)
- .bash_profile is run only when a 'log in' shell is started, eg, a tty, su -l, su-, new tab, etc.