File:  [Paefchen] / home / as / .csh / prompt.csh
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Jan 7 06:03:02 2008 UTC (16 years, 10 months ago) by as
Branches: MAIN
CVS tags: HEAD
Hello My Home ;)

# $Paefchen: home/as/.csh/prompt.csh,v 1.1 2008/01/07 06:03:02 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%} "
# normaler-prompt
else
	set prompt="%{\033[32m%}%n@%m %{\033[33m%}%B%~%b%#%{\033[33m%} "
endif