xref: /freebsd/share/skel/dot.cshrc (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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/games /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 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