# $Paefchen: home/as/.csh/clock.csh,v 1.1 2008/01/07 06:03:02 as Exp $
# CSHRC_RELOAD: YES
# CSHRC_PROMPTONLY: YES
# CSHRC_DESCR: Uhr an/ab schalten. Auch mit `clock` moeglich.
if (! $?CSHRC_MD_CLOCK_LAODED) then
if (! $?CSHRC_MD_CLOCK_DEFAULT) then
set CSHRC_MD_CLOCK_DEFAULT = "YES"
endif
if (! $?CSHRC_MD_CLOCK_FORMAT) then
set CSHRC_MD_CLOCK_FORMAT = '%{\033[33m%}(%{\033[32m%}%D.%W.%y %P%{\033[33m%})'
endif
aliass clock ~/.csh/clock.csh
if ($CSHRC_MD_CLOCK_DEFAULT == "YES") then
set rprompt = "$CSHRC_MD_CLOCK_FORMAT"
endif
else if (! $?rprompt) then
set rprompt = "$CSHRC_MD_CLOCK_FORMAT"
else
unset rprompt
endif