Bear Bibeault wrote:I actually think that there are a number of different config files that bash looks for; e.g. .bashrc
I fixed Bear's typos.
Yes, there are a bunch of them, that are fired off at assorted times. I've never understood exactly when which one goes off.
~/.bashrc, ~/.bash_profile, ~/.profile and some in /etc/
I never had to figure exactly when each was used. I know that in Linux, when you "su" or "login" there are rather strange rules as to which profile script is run. I can't remember details from back when I was really using HP-UX, or assorted BSD or even System 7 Unixes.
Right now, I've copied the files so all three of the ~/ profile-type files are the same. Which works, but its not very elegant.