1 # $NetBSD: dot.cshrc,v 1.20 2009/02/15 01:31:43 erh Exp $
5 alias hup '( set pid=$< ; kill -HUP $pid ) < /var/run/\!$.pid'
13 alias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs'
14 alias cd 'set old="$cwd"; chdir \!*'
19 alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
23 # Uncomment the following line(s) to install binary packages
24 # from ftp.NetBSD.org via pkg_add.
25 #setenv PKG_PATH ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.99/All
26 #setenv PKG_PATH "${PKG_PATH};ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.0/All"
29 set 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 # directory stuff: cdpath/cd/back
32 set cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}})
34 if ($?prompt && -x /usr/bin/id ) then
35 if (`/usr/bin/id -u` == 0) then
36 set prompt="`hostname -s`# "
38 set prompt="`hostname -s`% "