Return to prompt.csh CVS log | Up to [Paefchen] / home / as / .csh |
1.1 ! as 1: # $Paefchen$ ! 2: ! 3: # CSHRC_RELOAD: NO ! 4: # CSHRC_PROMPTONLY: YES ! 5: ! 6: ! 7: set promptchars=">#" ! 8: ! 9: # root prompt ! 10: if (`id -u` == "0") then ! 11: set prompt="%{\033[31m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%} " ! 12: # normaler-prompt ! 13: else ! 14: set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%} " ! 15: endif