From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EdSfj-0007M8-P5 for garchives@archives.gentoo.org; Sat, 19 Nov 2005 13:22:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAJDLYJ8026733; Sat, 19 Nov 2005 13:21:34 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAJDGvJZ024181 for ; Sat, 19 Nov 2005 13:16:57 GMT Received: from [24.67.28.241] (helo=badcomputer.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EdSaO-0004GU-Lw for gentoo-user@lists.gentoo.org; Sat, 19 Nov 2005 13:16:57 +0000 Received: from [192.168.0.102] (helo=virgo.badcomputer.org) by badcomputer.org with esmtp (Exim 3.26) id 1EdSaR-00010m-Qd for gentoo-user@gentoo.org; Sat, 19 Nov 2005 05:16:59 -0800 From: darren kirby Organization: Badcomputer Org. To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Bash Config files Date: Sat, 19 Nov 2005 05:16:54 -0800 User-Agent: KMail/1.8.3 References: <437E3734.2090400@gmail.com> In-Reply-To: <437E3734.2090400@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1288625.CZIsi1VNi7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200511190516.59063.bulliver@badcomputer.org> X-Archives-Salt: 1908c53b-efb9-4f47-b243-cfa9a9e02ae6 X-Archives-Hash: 1f9eb829364f644bbc3ca186b53db1b7 --nextPart1288625.CZIsi1VNi7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 e= nd=20 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 =3D=3D> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A > 6996 0993 =2Dd =2D-=20 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." =2D Dennis Ritchie and Ken Thompson, June 1972 --nextPart1288625.CZIsi1VNi7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDfyXLwPD5Cr/3CJgRAtguAKCaU/SQ9pbtceaFS4dL32oLOLtU9ACfQ8eo i69ScP+l+fcfWAcmuGmfTXw= =JpVF -----END PGP SIGNATURE----- --nextPart1288625.CZIsi1VNi7-- -- gentoo-user@gentoo.org mailing list