Annotation of home/as/.csh/clock.csh, revision 1.1

1.1     ! as          1: # $Paefchen$
        !             2: 
        !             3: # CSHRC_RELOAD: YES
        !             4: # CSHRC_PROMPTONLY: YES
        !             5: # CSHRC_DESCR: Uhr an/ab schalten. Auch mit `clock` moeglich.
        !             6: 
        !             7: if (! $?CSHRC_MD_CLOCK_LAODED) then
        !             8:        
        !             9:        if (! $?CSHRC_MD_CLOCK_DEFAULT) then
        !            10:                set CSHRC_MD_CLOCK_DEFAULT = "YES"
        !            11:        endif
        !            12: 
        !            13:        if (! $?CSHRC_MD_CLOCK_FORMAT) then 
        !            14:                set CSHRC_MD_CLOCK_FORMAT = '%{\033[33m%}(%{\033[32m%}%D.%W.%y %P%{\033[33m%})'
        !            15:        endif
        !            16: 
        !            17:        aliass  clock ~/.csh/clock.csh
        !            18: 
        !            19:        if ($CSHRC_MD_CLOCK_DEFAULT == "YES") then
        !            20:                set rprompt = "$CSHRC_MD_CLOCK_FORMAT"
        !            21:        endif
        !            22: 
        !            23: else if (! $?rprompt) then
        !            24:        set rprompt = "$CSHRC_MD_CLOCK_FORMAT"
        !            25: else
        !            26:        unset rprompt
        !            27: endif