On Fri, 25 Mar 2005 14:34:21 -0800, darren kirby
<[EMAIL PROTECTED]> wrote:
> 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

Is this within a windows manager (ie: KDE)?  Some terminal programs
(ie: konsole) are not set up to do a login session.  For instance,
just running 'xterm' may not run your login scripts.  Running 'xterm
-ls' will.

Just a thought.

-Hani
--
gentoo-user@gentoo.org mailing list

Reply via email to