version 1.1, 2008/01/07 06:03:02
|
version 1.2, 2008/12/29 11:12:28
|
Line 1
|
Line 1
|
# $Paefchen$ | # $Paefchen: home/as/.csh/prompt.csh,v 1.1 2008/01/07 06:03:02 as Exp $ |
|
|
# CSHRC_RELOAD: NO |
# CSHRC_RELOAD: NO |
# CSHRC_PROMPTONLY: YES |
# CSHRC_PROMPTONLY: YES |
Line 8 set promptchars=">#"
|
Line 8 set promptchars=">#"
|
|
|
# root prompt |
# root prompt |
if (`id -u` == "0") then |
if (`id -u` == "0") then |
set prompt="%{\033[31m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%} " | set prompt="%{\033[31m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} " |
# normaler-prompt |
# normaler-prompt |
else |
else |
set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%} " | set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%}%{\033[0m%} " |
endif |
endif |