Annotation of home/as/.csh/prompt.csh, revision 1.2

1.2     ! as          1: # $Paefchen: home/as/.csh/prompt.csh,v 1.1 2008/01/07 06:03:02 as Exp $
1.1       as          2: 
                      3: # CSHRC_RELOAD: NO
                      4: # CSHRC_PROMPTONLY: YES
                      5: 
                      6: 
                      7: set promptchars=">#"
                      8: 
                      9: # root prompt
                     10: if (`id -u` == "0") then
1.2     ! as         11:        set prompt="%{\033[31m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} "
1.1       as         12: # normaler-prompt
                     13: else
1.2     ! as         14:        set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} "
1.1       as         15: endif