I've changed my default shell to bash, since that's what I'm used to, but I've noticed that when I open a new terminal window the .bashrc file in my home directory does not get sourced.
Any ideas?
aixccapt99
04-08-2003, 07:57 PM
Try naming it .bash_profile. That's what mine is called, and it works as expected.
melguin
04-09-2003, 11:01 AM
hmm...I'm not suprised that .bash_profile works, though I had forgotten about it since in Linux either .bashrc or .bash_profile will work. I have been using .bashrc for many years and forgot about the other until you suggested it.
Many thanks.
midan23
04-09-2003, 11:20 AM
I use both files ...
My .bash_login looks like this :
RCFILE=$HOME/.bashrc
[ -f $RCFILE] && source $RCFILE