quoth the Harry Putnam: > On a root login and although root's shell is bash, the .bashrc file I > created is not sourced. > > Is this a local config problem or a default system setting somewhere. > > Far as I know, when using bash it is supposed to look for > .bash_profile/profile (in that order) and then .bashrc when invoked. > > -- > gentoo-user@gentoo.org mailing list
No,it won't get sourced by default. Not sure if this is the 'correct' way to do it but I just add: if [ -e ~/.bashrc ]; then . ~/.bashrc fi to the end of my /etc/profile hth -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972
pgp9zvZRv3LcK.pgp
Description: PGP signature