dot.cshrc revision 1.20
11.20Serh# $NetBSD: dot.cshrc,v 1.20 2009/02/15 01:31:43 erh Exp $ 21.3Smycroft 31.1Scgdalias h history 41.16Shubertfalias j jobs -l 51.14Stvalias hup '( set pid=$< ; kill -HUP $pid ) < /var/run/\!$.pid' 61.16Shubertfalias la ls -a 71.16Shubertfalias lf ls -FA 81.3Smycroftalias ll ls -l 91.1Scgd 101.6Smikelalias x exit 111.2Scgdalias z suspend 121.6Smikel 131.7Smrgalias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs' 141.7Smrgalias cd 'set old="$cwd"; chdir \!*' 151.1Scgdalias pd pushd 161.1Scgdalias pd2 pushd +2 171.1Scgdalias pd3 pushd +3 181.1Scgdalias pd4 pushd +4 191.1Scgdalias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars' 201.1Scgd 211.16Shubertfsetenv BLOCKSIZE 1k 221.16Shubertf 231.20Serh# Uncomment the following line(s) to install binary packages 241.17Sjoerg# from ftp.NetBSD.org via pkg_add. 251.20Serh#setenv PKG_PATH ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.99/All 261.20Serh#setenv PKG_PATH "${PKG_PATH};ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.0/All" 271.17Sjoerg 281.16Shubertfset history=1000 291.19Scubeset 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) 301.16Shubertf 311.16Shubertf# directory stuff: cdpath/cd/back 321.16Shubertfset cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}}) 331.16Shubertf 341.10Sabsif ($?prompt && -x /usr/bin/id ) then 351.9Sperry if (`/usr/bin/id -u` == 0) then 361.9Sperry set prompt="`hostname -s`# " 371.9Sperry else 381.9Sperry set prompt="`hostname -s`% " 391.9Sperry endif 401.1Scgdendif 411.6Smikel 421.6Smikelumask 022 43