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