public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: darren kirby <bulliver@badcomputer.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Bash Config files
Date: Sat, 19 Nov 2005 05:16:54 -0800	[thread overview]
Message-ID: <200511190516.59063.bulliver@badcomputer.org> (raw)
In-Reply-To: <437E3734.2090400@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2005-11-19 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 20:19 [gentoo-user] Bash Config files gentuxx
2005-11-19 13:16 ` darren kirby [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511190516.59063.bulliver@badcomputer.org \
    --to=bulliver@badcomputer.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox