From owner-freebsd-questions Wed Apr 26 22:23: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from grace.speakeasy.org (grace.speakeasy.org [216.254.0.2]) by hub.freebsd.org (Postfix) with SMTP id 5B15137B8A9 for ; Wed, 26 Apr 2000 22:23:01 -0700 (PDT) (envelope-from rjoseph@speakeasy.org) Received: (qmail 19936 invoked from network); 27 Apr 2000 05:22:56 -0000 Received: from unknown (HELO mammalia.org) (216.231.50.6) by grace.speakeasy.org with SMTP; 27 Apr 2000 05:22:56 -0000 Date: Wed, 26 Apr 2000 22:22:56 -0700 (PDT) From: R Joseph Wright X-Sender: rjoseph@manatee.mammalia.org To: andrew@ugh.net.au Cc: Marius Vincent , freeBSD-Questions Subject: Re: Thrashing Bash In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 27 Apr 2000 andrew@ugh.net.au wrote: > > > On Wed, 26 Apr 2000, Marius Vincent wrote: > > > and Incase my box get screwed up and the shell is not there i get locked out > > of root. > > Not really. I f you use su -m you keep whatever shell your using and if > you boot single user mode you are prompted for the shell to use. > > > Now how do i get PS1=blah to export to the terminal? > > I tried to create a .bash_profile and added the PS1=blah into it and it does > > not work. > I have mine set as PS1='\u@\h:\w\$ ' I use .profile for login shells and .bashrc for non login shells such as what is used in an xterm. At one time I had the two files hard linked together so they were identical, but I had to change that for various reasons. You may be able to get by with it depending on your situation. Also, don't forget to source the file after you edit it, as in "source .profile", so the changes will take effect. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message