Prompt Color
Does anyone know how to change the color of the prompt and make it stay each bootup as my root prompt?
i can change it alright, but whenever i restart i lose it. this must be a simple thing. thanks you heaps, medamnit |
|
cool, thanks. that was a useful and interesting read. i found easier ways then how i've been doing it.
thanks medamnit |
can i make it that root color is different to any other user that logs on? i'm getting lost w/ this virtual terminal.
so root is yellow and any other user will be green. thanks, medamnit |
Yeah, what you could do is edit the user's .bash_profile in their home directory and change the PS1= line to what you choose theirs to be. Since .bash_profile is higher in priority than /etc/profile it'll be used first if found. Just let the root account default to /etc/profile. If you don't have a .bash_profile in your user's dir, just copy the /etc/profile over to your user home and rename it to .bash_profile and change the options as desired.
|
All times are GMT -5. The time now is 07:58 AM. |