How to set tcsh prompt: # for root and % for user?
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?
I also wanted the bash prompt to be $ for a normal user and # for root. This was done with " PS1='\$' " in /etc/bashrc