quoth the gentuxx:
> Hi all,
>
> This is sort of a n00bie question, but something I haven't really had
> to mess around with.  I recently did an `emerge world` and after the
> update and a reboot, my root prompt has changed back to the gentoo
> default.  It now seems that the /etc/bashrc and /etc/profile are
> overriding my root's .bashrc and .profile.  In addition to the root
> prompt being changed, it seems that the PATH environment variable
> isn't complete.  _Some_ utilities that are part of the gentoolkit (but
> not all) aren't found in the path (qpkg, equery, etc.).  So what do I
> need to do to set things right, so my local setting override the
> global?  Or is there a reason for this, and I should just modify the
> global, since it has if/else's for root?
>
> TIA

I have found the best way to deal with this is to add this snippet to the end 
of /etc/profile:

if [ -e ~/.bashrc]; then
        . ~/.bashrc
fi

The problem is that you need to add it again when you upgrade baselayout...

> gentux
> echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
> 6996 0993

-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

Attachment: pgp6jeusNPNUQ.pgp
Description: PGP signature

Reply via email to