From owner-freebsd-questions Wed Jan 10 9:28:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 56EE837B6A1 for ; Wed, 10 Jan 2001 09:28:30 -0800 (PST) Received: (qmail 92704 invoked by uid 100); 10 Jan 2001 17:28:28 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14940.39868.769882.575793@guru.mired.org> Date: Wed, 10 Jan 2001 11:28:28 -0600 (CST) To: questions@freebsd.org Subject: Re: su su In-Reply-To: <85077213@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG tony 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. 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