Date: Wed, 10 Jan 2001 11:28:28 -0600 (CST) From: Mike Meyer <mwm@mired.org> To: questions@freebsd.org Subject: Re: su su Message-ID: <14940.39868.769882.575793@guru.mired.org> In-Reply-To: <85077213@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
tony <tony@tntpro.com> types: > I just do su - > > What I usually do, is something like this: > > > > in ~/.bash_profile: > > > > source ~/.bashrc > > > > then put all of my PS1 and 2 nonsense in my .bashrc along with all of the > > other noise > > that is associated with that. :) > > The problem with "su -" is that you get csh, not bash. Personally, I have an alias for su: "PS1='host# ' su -m". Any other environment variables that you want set or changed can be set in the same alias. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?14940.39868.769882.575793>