Return to prompt.csh CVS log | Up to [Paefchen] / home / as / .csh |
Nach dem Prompt immer in den Defaultcolor weitermachen
# $Paefchen: home/as/.csh/prompt.csh,v 1.2 2008/12/29 11:12:28 as Exp $ # CSHRC_RELOAD: NO # CSHRC_PROMPTONLY: YES set promptchars=">#" # root prompt if (`id -u` == "0") then set prompt="%{\033[31m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} " # normaler-prompt else set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} " endif