Date: Thu, 26 Apr 2001 12:40:00 -0700 (PDT) From: Trevin Chow <tmchow@sfu.ca> To: <questions@freebsd.org> Subject: What should be in /etc/profile & /etc/bashrc? Message-ID: <20010426123638.O96761-100000@benny.geektank.org>
next in thread | raw e-mail | index | archive | help
I wanted to put most of my settings in global files so I was using /etc/profile and /etc/bashrc. The problem I was having before was putting things in ~/.bashrc and ~/.bash_profile but everytime I wanted to make a global change I would have to change each user's local file. 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. I've always been confused as what to put into /etc/profile and to find the best balance between a global setup and what should be in local users ~/.bashrc and ~/.bash_profile.. Anyone have any advice and/or sample files? 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?20010426123638.O96761-100000>