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

Re: was wondering



On Wed, 31 Dec 2003 13:35:04 +0100, Mario Vukelic wrote:

> On Wed, 2003-12-31 at 07:13, Arnt Karlsen wrote:
> 
>> ..or PS1='\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\H\[\033
>> [1;37m\]:\[\0 33[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]' ;-)
>           this ^ space has to go
> 
> Too colored for my taste, though :)
> Seems a good time to ask a question:  Since my brain always segfaults
> when I read about interactive vs. login shells and the files they read
> on startup, I never managed to find out what I have to do to make the
> prompt change when doing a 'su'. 'su -' obviously works. Thanks for
> hints :)

change it in root/.bashrc

-- 
....................paul

Programming without a hex editor is like watchmaking without a hammer.




Reply to: