On 04-Mar-01 Shalrath wrote:
| Greetings.   I recently began toying around with my bash prompt and
| color, 
| going from the information found here:
| 
| http://www2.linuxjournal.com/lj-issues/issue64/3215.html
| 
| I would like to edit /etc/bashrc in such a way that root's bash
| prompt showed 
| up as bright red, while my user accounts would be a light cyan.  
| 
| Nevermind,  mission accomplished.  
| 
| under /etc/profile, I changed
| 
|#PS1="[\u@\h \W]\\$ "


PS1="\[\033[1;36m\][\u@\h \w]\\$ "

Works for me ! (without the rest of it)


| 
| and under /root/.bashrc,  I added
| 
| PS1="\[\033[1;31m\][\u@\h \w]\\$\[\033[0;37m\] "
| 
| 
| This seems to work so far.  
| 
| Can anyone think of a more elegant way to do this?
| Could this be considered to be added to Mandrake?
| 
| Jason Marsh

----------------------------------
Eric MC
E-Mail: Eric MC D. <[EMAIL PROTECTED]>
Date: 04-Mar-01       Time: 14:04:34
RLU#165727
I trust the first lion he meets will do his duty.
                -- J.P. Morgan on Teddy Roosevelt's safari

----------------------------------

Reply via email to