File:  [Paefchen] / home / as / .csh / prompt.csh
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Dec 29 11:12:28 2008 UTC (15 years, 10 months ago) by as
Branches: MAIN
CVS tags: HEAD
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