Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 16:47:12 -0700 (PDT)
From:      <unknown@riverstyx.net>
To:        Bill Swingle <unfurl@dub.net>
Cc:        newbies@FreeBSD.ORG
Subject:   Re: Newbie tip
Message-ID:  <Pine.LNX.4.04.9905171646470.12325-100000@hades.riverstyx.net>
In-Reply-To: <19990517163540.A71029@dub.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I can't stand having colors 'coz every time I use someone's remote
terminal the color codes get mangled :)

---
tani hosokawa
river styx internet


On 17 May 1999, Bill Swingle wrote:

> 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
> 



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?Pine.LNX.4.04.9905171646470.12325-100000>