dot.cshrc revision 1.17
11.17Sjoerg# $NetBSD: dot.cshrc,v 1.17 2008/11/10 23:17:13 joerg 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.17Sjoerg# Uncomment the following line to install binary packages 241.17Sjoerg# from ftp.NetBSD.org via pkg_add. 251.17Sjoerg#setenv PKG_PATH ftp://ftp.netbsd.org/pkgsrc/packages/NetBSD/$(uname -m)/5.99/All 261.17Sjoerg 271.16Shubertfset history=1000 281.16Shubertfset path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin) 291.16Shubertf 301.16Shubertf# directory stuff: cdpath/cd/back 311.16Shubertfset cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}}) 321.16Shubertf 331.10Sabsif ($?prompt && -x /usr/bin/id ) then 341.9Sperry if (`/usr/bin/id -u` == 0) then 351.9Sperry set prompt="`hostname -s`# " 361.9Sperry else 371.9Sperry set prompt="`hostname -s`% " 381.9Sperry endif 391.1Scgdendif 401.6Smikel 411.6Smikelumask 022 42