# $Id: dot.cshrc,v 1.5 1996/09/21 21:35:35 wosch Exp $ # # .cshrc - csh resource script, read at beginning # of execution by each shell # # see also csh(1), environ(7). # # # prompt examples ;-) # set prompt = "[ %U%n%u@%B%m%b:%~ ; dev=%l ; time=%P ] %# " # set prompt = "[ %l ] [ %n@%B%m%b:%~ ] %# " # set prompt = "\n%S(%s %U%n%u@%B%m%b:%~ ; dev=%l ; time=%P %S)%s\n %# " # set prompt="[ `whoami`@hasseroeder: `pwd` ] " # set prompt="[ `whoami`@`hostname`:`pwd` ] " #Xterm Title Bar Setup if ("$term" == "xterm-color") then alias cwdcmd 'echo -n "]2;${USER}@${HOST} : $cwd ";echo -n "]1;${USER}@${HOST}"' cwdcmd endif if ($?prompt) then set path= ( $path ) ## prompt setting and cd changed set prompt = "[ %l ] [ %n@%B%m%b:%~ ] %# " alias cd 'cd \!*' alias e exit alias wo whereis alias lokk 'xlock -mode blank -invalid "Geh Weg!" -planfont 12x24' alias we whoami alias holemehl 'fetchmail -m "/usr/sbin/sendmail -oem arvid"' endif