1# $OpenBSD: dot.cshrc,v 1.7 2009/01/30 08:42:26 sobrado Exp $ 2# 3# csh initialization 4 5alias df df -k 6alias du du -k 7alias f finger 8alias h 'history -r | more' 9alias j jobs -l 10alias la ls -a 11alias lf ls -FA 12alias ll ls -lsA 13alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars' 14alias z suspend 15 16set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin,games} .) 17 18if ($?prompt) then 19 # An interactive shell -- set some stuff up 20 set filec 21 set history = 1000 22 set ignoreeof 23 set mail = (/var/mail/$USER) 24 set mch = `hostname -s` 25 alias prompt 'set prompt = "$mch:q"":$cwd:t {\!} "' 26 alias cd 'cd \!*; prompt' 27 alias chdir 'cd \!*; prompt' 28 alias popd 'popd \!*; prompt' 29 alias pushd 'pushd \!*; prompt' 30 cd . 31 umask 22 32endif 33