From owner-freebsd-newbies Mon May 17 16:35:43 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from toxic.magnesium.net (toxic.magnesium.net [204.188.6.238]) by hub.freebsd.org (Postfix) with SMTP id 99DDA1542C for ; Mon, 17 May 1999 16:35:41 -0700 (PDT) (envelope-from unfurl@toxic.magnesium.net) Received: (qmail 71079 invoked by uid 1001); 17 May 1999 23:35:40 -0000 Date: 17 May 1999 16:35:40 -0700 Date: Mon, 17 May 1999 16:35:40 -0700 From: Bill Swingle To: newbies@freebsd.org Subject: Re: Newbie tip Message-ID: <19990517163540.A71029@dub.net> References: <3.0.6.32.19990517174353.0096ac50@mail.bfm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from unknown@riverstyx.net on Mon, May 17, 1999 at 04:39:40PM -0700 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I use this nice color-ized bash prompt: PS1="\[^[[32m\]\u@\h\[^[[0m\]:\[^[[33m\]\w\[^[[0m\]\$ " :) -Bill On Mon, May 17, 1999 at 04:39:40PM -0700, unknown@riverstyx.net wrote: > So change it... PS1 is the environment variable used for the prompt. > > try adding this to your .profile: > > export PS1="[\u@\h \W]\\$ " > > That'll give you a nice RedHat-like prompt :) > > On Mon, 17 May 1999, G. Adam Stanislav wrote: > > > At 13:07 17-05-1999 -0700, unknown@riverstyx.net wrote: > > >But I'd suggest bash instead. Ref. "C Shell Programming Considered > > >Harmful" by Tom Christiansen (47.02 Unix Power Tools, 'coz I can't find > > >the original). It's not just scripting that tcsh is crippled in -- it's > > >just general command line stuff. Ick. > > > > Hmmm... When the suggestions started rolling in, I tried bash on my telnet > > account with my web hosting company. It changed my prompt to BashNN (where > > NN was the version number). I really hated that and never looked back. > > > > I prefer my own custom propmpt... -- -=| Bill Swingle - unfurl@dub.net - unfurl@freebsd.org - bill@cdrom.com -=| "Computers are useless. They can only give you answers" Pablo Picasso To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message