From: "B. Douglas Hilton" <doug.hilton@engineer.com>
Subject: Re: for a beginner...
Date: Thu, 05 Jul 2001 23:55:05 -0400
Date: 2001-07-05T23:55:05-04:00 [thread overview]
Message-ID: <3B453699.CEF03399@engineer.com> (raw)
In-Reply-To: 3B452EBB.88763BDD@engineer.com
As an adendum, here is a relevant portion of my Linux
profile which gives me a nice colorized prompt. Add
it to your .bash_profile or .bashrc
Keep in mind that wherever you see ESC, with the vi
editor you should press CTRL-V ESC to embed an
actual escape character into the sequence
PS1='\[ESC[1;30m\]<\[ESC[35m\]\#\[ESC[30m\]>(\[ESC[36m\]\h\[ESC[30m\])[\[ESC[34m\]`pwd`\[ESC[30m\]]\[ESC[32m\]
$\[ESC[0m\] '
A b/w version of your prompt will be:
<13>(thunder)[/home/doug]
$
the 13 will be purple, the thunder will be bright cyan, the /home/doug will be blue,
the $ will be green, and everything else will be bright black. Any text you type will be grey.
Regards,
- Doug
next prev parent reply other threads:[~2001-07-06 3:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-06 0:51 for a beginner Beau
2001-07-06 1:35 ` B. Douglas Hilton
2001-07-06 2:48 ` Beau
[not found] ` <000901c105c6$288d58e0$03000004@p4g4r3>
2001-07-06 3:21 ` B. Douglas Hilton
2001-07-06 3:55 ` B. Douglas Hilton [this message]
2001-07-06 14:28 ` Ted Dennison
2001-07-06 18:15 ` Darren New
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox