Date: Wed, 26 Jan 2000 16:11:08 +0100 From: Gunnar Flygt <gunnar@pluto.sr.se> To: Matthew Jonkman <jonkman@bussert.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: Re: Shell prompts Message-ID: <20000126161108.A87634@sr.se> In-Reply-To: <00b401bf680f$35b1b4e0$350a0a0a@bussert.com.Bussert>; from jonkman@bussert.com on Wed, Jan 26, 2000 at 10:08:26AM -0500 References: <004a01bf67bf$42b16640$030a0a0a@jonkmangarage.com><007f01bf67bf$5bfec160$1791ddd1@balfourplace.com><006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com> <v0421012cb4b449e4424b@[209.239.239.22]> <00b401bf680f$35b1b4e0$350a0a0a@bussert.com.Bussert>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 26, 2000 at 10:08:26AM -0500, Matthew Jonkman wrote: > My next question (you probably already anticipated this) > > How do I change my default shell without removing and adding myself again? chsh > > ========================================= > > Matthew Jonkman > Bussert Consulting > > > > > > ----- Original Message ----- > From: "Jon Rust" <jpr@vcnet.com> > To: <freebsd-questions@FreeBSD.ORG> > Sent: Wednesday, January 26, 2000 1:57 AM > Subject: Re: Shell prompts > > > You've neglected to tell us what shell you're using, so it makes > answering a little tougher. I use bash(1), which uses the PS1 > environment variable to do what you want: > > export PS1="\u in \w \$" > > jon > > At 12:46 AM -0500 1/26/00, Matthew Jonkman wrote: > >That tells me all I'd want to know, but how can I make the prompt itself be > >something to the effect of: > > > >Username in /etc/mail # > > > >Thanks > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) 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?20000126161108.A87634>