summaryrefslogtreecommitdiff
path: root/share/skel/dot.cshrc
blob: 52c0154ced4602a58cdd65af75ee8418aecb1ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# .cshrc initialization

alias df	df -k
alias du	du -k
alias f		finger
alias h		'history -r | more'
alias j		jobs -l
alias la	ls -a
alias lf	ls -FA
alias ll	ls -lgsA
alias su	su -m
alias tset	'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
alias x		exit
alias z		suspend

set path = (~/bin /bin /usr/{bin,host,local/bin,games} .)

if ($?prompt) then
	# An interactive shell -- set some stuff up
	set filec
	set history = 1000
	set ignoreeof
	set mail = (/var/mail/$USER)
	set mch = `hostname -s`
	alias prompt 'set prompt = "$mch:q"":$cwd:t {\!} "'
	alias cd 'cd \!*; prompt'
	alias popd 'popd \!*; prompt'
	alias pushd 'pushd \!*; prompt'
	cd .
	umask 22
endif