xref: /original-bsd/etc/root/dot.cshrc (revision ea3a8ee8)
1set history=1000
2set path=(/sbin /usr/sbin /bin /usr/bin)
3
4# directory stuff: cdpath/cd/back
5set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,local,games,old})
6alias	cd	'set old=$cwd; chdir \!*'
7alias	h	history -r
8alias	hup	'kill -HUP `cat /var/run/\!$.pid`'
9alias	j	jobs -l
10alias	ll	ls -lg
11alias	ls	ls -g
12alias	back	'set back=$old; set old=$cwd; cd $back; unset back; dirs'
13
14alias	z	suspend
15alias	x	exit
16alias	pd	pushd
17alias	pd2	pushd +2
18alias	pd3	pushd +3
19alias	pd4	pushd +4
20alias	tset	'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
21
22if ($?prompt) then
23	set prompt="`hostname -s`# "
24endif
25
26umask 022
27