11.30Stsutsui# $NetBSD: dot.cshrc,v 1.30 2025/01/11 06:43:28 tsutsui 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.22Serh# from ftp.NetBSD.org via pkg_add. (See also pkg_install.conf) 251.30Stsutsui#setenv PKG_PATH "https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -p`/`uname -r|cut -f '1 2' -d.|cut -f 1 -d_`/All" 261.17Sjoerg 271.16Shubertfset history=1000 281.27Ssnjset path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R7/bin /usr/local/sbin /usr/local/bin) 291.16Shubertf 301.16Shubertf# directory stuff: cdpath/cd/back 311.29Sjdolecekset cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,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