Date: Fri, 27 Apr 2001 09:11:39 +1200 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Trevin Chow <tmchow@sfu.ca> Cc: questions@FreeBSD.ORG Subject: Re: What should be in /etc/profile & /etc/bashrc? Message-ID: <20010427091139.B80815@itouchnz.itouch> In-Reply-To: <20010426123638.O96761-100000@benny.geektank.org>; from tmchow@sfu.ca on Thu, Apr 26, 2001 at 12:40:00PM -0700 References: <20010426123638.O96761-100000@benny.geektank.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 26, 2001 at 12:40:00PM -0700, Trevin Chow wrote: [...] > > Everything seemed to work okay but now that I've installed > postgresql, the startup scripts use the /bin/sh shell > and are imcompatible with some of the settings for the bash > prompt I have in /etc/profile. Bash stuff shouldn't go in /etc/profile. Only /bin/sh stuff should; as you've obviously discovered. Bash stuff should go in /etc/bashrc. In general, if the settings apply to *everyone* (including pseudo-users), put them in /etc; otherwise have a seperate file which you source/. in the user's ~/.bash* -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010427091139.B80815>