Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 16:35:40 -0700
From:      Bill Swingle <unfurl@dub.net>
To:        newbies@freebsd.org
Subject:   Re: Newbie tip
Message-ID:  <19990517163540.A71029@dub.net>
In-Reply-To: <Pine.LNX.4.04.9905171637290.12325-100000@hades.riverstyx.net>; from unknown@riverstyx.net on Mon, May 17, 1999 at 04:39:40PM -0700
References:  <3.0.6.32.19990517174353.0096ac50@mail.bfm.org> <Pine.LNX.4.04.9905171637290.12325-100000@hades.riverstyx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990517163540.A71029>