File:  [Paefchen] / home / as / .csh / clock.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/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