How to set tcsh prompt: # for root and % for user?
Hi all,
I'm configuring my linux box. I'll use both bash and tcsh. The command " set prompt='%#' " in /etc/csh.cshrc sets tcsh prompt to be ">" for user and "#" for root. I REALLY prefer a traditional "%" for user but don't know how to do that. Anyone here please give me a hand? btw: I also wanted the bash prompt to be $ for a normal user and # for root. This was done with " PS1='\$' " in /etc/bashrc |
put the following in your .tcshrc file:
set promptchars="%#" |
All times are GMT -5. The time now is 11:35 PM. |