dot.cshrc revision 1.11
1#	$NetBSD: dot.cshrc,v 1.11 2000/05/06 13:17:33 frueauf Exp $
2
3set history=1000
4set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
5
6# directory stuff: cdpath/cd/back
7set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}})
8
9setenv BLOCKSIZE 1k
10
11alias	h	history
12alias	hup	'kill -HUP `cat /var/run/\!$.pid`'
13alias	j	jobs -l
14alias	ll	ls -l
15
16alias	x	exit
17alias	z	suspend
18
19alias	back	'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs'
20alias	cd	'set old="$cwd"; chdir \!*'
21alias	pd	pushd
22alias	pd2	pushd +2
23alias	pd3	pushd +3
24alias	pd4	pushd +4
25alias	tset	'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
26
27if ($?prompt && -x /usr/bin/id ) then
28	if (`/usr/bin/id -u` == 0) then
29		set prompt="`hostname -s`# "
30	else
31		set prompt="`hostname -s`% "
32	endif
33endif
34
35umask 022
36