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

Re: Keeping a customized file from being updated during package upgrade



On 2004-07-10, * Tong* penned:
> On Sat, 10 Jul 2004 00:55:08 -0400, Silvan wrote:
>
>> anyway.  One thing I've done to help me keep track of where I am is
>> to use colorized prompts.  Red is root, cyan is local user, purple is
>> local user with developer environment variables, green is remote,
>> etc.  It helps when you have as many different terminal sessions open
>> at one time as I do.
>
> 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 '

-- 
monique



Reply to: