1#
2# .cshrc - csh resource script, read at beginning of execution by each shell
3#
4# see also csh(1), environ(7).
5#
6
7alias h		history 25
8alias j		jobs -l
9alias la	ls -a
10alias lf	ls -FA
11alias ll	ls -lA
12
13# A righteous umask
14umask 22
15
16set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
17
18setenv	EDITOR	vi
19setenv	PAGER	less
20setenv	BLOCKSIZE	K
21
22if ($?prompt) then
23	# An interactive shell -- set some stuff up
24	set prompt = "`/bin/hostname -s`# "
25	set filec
26	set history = 100
27	set savehist = 100
28	set mail = (/var/mail/$USER)
29	if ( $?tcsh ) then
30		bindkey "^W" backward-delete-word
31		bindkey -k up history-search-backward
32		bindkey -k down history-search-forward
33	endif
34endif
35