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

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



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



Reply to: