On Tue, 13 Jul 2004 01:10:06 +0200, Monique Y. Mudama wrote:
>
> > Wow, how could you do that? Can you share your code with us?  I use
> > colored xterms to distinguish those -- easier to do. :-)
> 
> In my root .bashrc I have this:
> 
> export PS1='\e[31;1m\h:\w\$\e[0m '

Also look into the tput program. You tell it what you want (bold, green,
etc.) and it outputs appropriate magic for your current terminal.

HTH

Reid


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

Reply via email to