Re: ..cute prompts in debian and knoppix?
On Sat, Oct 11, 2003 at 09:49:28PM +0200, Arnt Karlsen wrote:
> ..with Red Hat-7.3 thru -9, in /etc/bashrc, I used:
> \[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
> to get "email@example.com:/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 firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
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.