On Sat, 11 Oct 2003 16:08:24 -0400, Naitik Shah <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>:
> 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? > > 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. > > ..ah, it's the _combination_ of these. ;-) Thanks! :-) ..the fully qualified hostname? I'm getting "box" from both \h and \H, and \h should give me the FQHN, no? (Does in Red Hat boxes.) "[EMAIL PROTECTED]:/etc # " instead of "[EMAIL PROTECTED]:/etc # " -- ..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]

