On Sat, Oct 11, 2003 at 09:49:28PM +0200, Arnt Karlsen wrote:
> Hi,
> 
> ..with Red Hat-7.3 thru -9,  in /etc/bashrc, I used:
> PS1='\[\033[1;33m\]\u\[\033[1;[EMAIL PROTECTED];32m\]\H\[\033[1;37m\]:\
> \[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
> to get "[EMAIL PROTECTED]:/red/path/ # ", with "#" or "$" in
> cyan, and ":" and "@" in white, which I like a lot.
> Knoppix uses an all-cyan Red Hat style prompt. 
> RH's own PS1="[EMAIL PROTECTED] \W]\\$ " is all white.
> 
> ..now, in debian and derivatives, _where_ do I set this?
> 
> -- 
> ..med vennlig hilsen = with Kind Regards from Arnt... ;-)
> ...with a number of polar bear hunters in his ancestry...
>   Scenarios always come in sets of three: 
>   best case, worst case, and just in case.
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>

You could try setting it in your ~/.bash_profile or for
globally setting it, put in in /etc/profile . Also, make
sure you don't reset it in ~/.bash_profile as /etc/profile
gets executed first, and then ~/.bash_profile.

Naitik.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to