LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   C shell prompt (https://www.linuxquestions.org/questions/linux-general-1/c-shell-prompt-8640/)

robson 11-12-2001 03:59 PM

C shell prompt
 
Hi there,

I wanted C shell prompt to be '#' for root and '%' for normal users.

I could make '#' for root and '>' for normal users with
set promt='%#'
in /etc/csh.cshrc, but I REALLY prefer '%'.

How can I do that?

Thanks in advance

isajera 11-12-2001 04:54 PM

i haven't used a unix c-shell in a while... but i think it was the local $HOME/.cshrc files in the accounts that set the prompts. i think you can just set it using those.

robson 11-12-2001 08:08 PM

Sorry...maybe this is not the right place to ask such a question. I'll post it in the 'newbie' section.


All times are GMT -5. The time now is 06:11 PM.