dot.cshrc revision 1.10
11.10Sabs#	$NetBSD: dot.cshrc,v 1.10 1999/06/15 05:44:22 abs Exp $
21.7Smrg
31.1Scgdset history=1000
41.8Smrgset path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
51.1Scgd
61.1Scgd# directory stuff: cdpath/cd/back
71.8Smrgset cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.bin,libexec,lib,games}})
81.3Smycroft
91.3Smycroftsetenv BLOCKSIZE 1k
101.3Smycroft
111.1Scgdalias	h	history
121.6Smikelalias	hup	'kill -HUP `cat /var/run/\!$.pid`'
131.1Scgdalias	j	jobs -l
141.3Smycroftalias	ll	ls -l
151.1Scgd
161.6Smikelalias	x	exit
171.2Scgdalias	z	suspend
181.6Smikel
191.7Smrgalias	back	'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs'
201.7Smrgalias	cd	'set old="$cwd"; chdir \!*'
211.1Scgdalias	pd	pushd
221.1Scgdalias	pd2	pushd +2
231.1Scgdalias	pd3	pushd +3
241.1Scgdalias	pd4	pushd +4
251.1Scgdalias	tset	'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
261.1Scgd
271.10Sabsif ($?prompt && -x /usr/bin/id ) then
281.9Sperry	if (`/usr/bin/id -u` == 0) then
291.9Sperry		set prompt="`hostname -s`# "
301.9Sperry	else
311.9Sperry		set prompt="`hostname -s`% "
321.9Sperry	endif
331.1Scgdendif
341.6Smikel
351.6Smikelumask 022
36