On Friday 05 April 02:26, Steve Juranich wrote:
> When I log in to my user account, bash is not reading my .bashrc.  I've
> checked the permissions and ownership.  It's all as it should be.  However,
> when I log in as root, the /root/.bashrc is getting evaluated.
>
> Does anybody know what's going on?
>
> Thanks.


Do you have this is ~/.bash_profile ?  :

# include .bashrc if it exists

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

Does it work if you invoke it as a login shell ?

all the best,
Robert_L


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to