1# $NetBSD: dot.cshrc,v 1.22.4.1 2012/03/17 17:22:54 bouyer Exp $ 2 3alias h history 4alias j jobs -l 5alias hup '( set pid=$< ; kill -HUP $pid ) < /var/run/\!$.pid' 6alias la ls -a 7alias lf ls -FA 8alias ll ls -l 9 10alias x exit 11alias z suspend 12 13alias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs' 14alias cd 'set old="$cwd"; chdir \!*' 15alias pd pushd 16alias pd2 pushd +2 17alias pd3 pushd +3 18alias pd4 pushd +4 19alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars' 20 21setenv BLOCKSIZE 1k 22 23# Uncomment the following line(s) to install binary packages 24# from ftp.NetBSD.org via pkg_add. (See also pkg_install.conf) 25#setenv PKG_PATH "ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -m`/6.0/All" 26#setenv PKG_PATH "${PKG_PATH};ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.1/All" 27#setenv PKG_PATH "${PKG_PATH};ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.0/All" 28 29set history=1000 30set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R7/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin) 31 32# directory stuff: cdpath/cd/back 33set cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}}) 34 35if ($?prompt && -x /usr/bin/id ) then 36 if (`/usr/bin/id -u` == 0) then 37 set prompt="`hostname -s`# " 38 else 39 set prompt="`hostname -s`% " 40 endif 41endif 42 43umask 022 44