[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ..cute prompts in debian and knoppix?



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;37m\]@\[\033[1;32m\]\H\[\033[1;37m\]:\
> \[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
> to get "yellow-user@green.box.name:/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="[\u@\h \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 debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>

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.



Reply to: