|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
SOLVED: ksh color coding prompt problem
Greetings all,
in order to have a reminder when switching to root, I am trying to colour code the prompts. It is working for the user, but not for root. I have copied the working prompt from the ~/.profile to the /root.profile: Code:
export PS1='\e[0;31m\u@\h\e[00m:# ' Interestingly, when I log out of Openbox session and log in as root, the FVWM terminal shows the root's prompt correctly. Any advice would be appreciated. Kindest regards, M Last edited by mefisto; 23rd September 2017 at 10:13 AM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Color Prompt in OpenBSD. | tetrodozombie | Guides | 18 | 13th April 2013 02:02 PM |
Adobe's new open source font for coding | J65nko | News | 3 | 28th September 2012 10:46 AM |
Nicer Prompt with ksh on 5.0 | nihonto | NetBSD Installation and Upgrading | 8 | 12th October 2009 08:49 PM |
Opera Font and Dialog Color Problem | roddierod | FreeBSD General | 4 | 26th September 2008 02:39 PM |
what to do at mountroot prompt? | Sunsawe | FreeBSD General | 13 | 5th June 2008 08:06 AM |