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# more examples available at /usr/share/examples/csh/
7#
8
9alias h		history 25
10alias j		jobs -l
11alias la	ls -aF
12alias lf	ls -FA
13alias ll	ls -lAF
14
15# These are normally set through /etc/login.conf.  You may override them here
16# if wanted.
17# set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
18# setenv	BLOCKSIZE	K
19# A righteous umask
20# umask 22
21
22setenv	EDITOR	vi
23setenv	PAGER	more
24
25if ($?prompt) then
26	# An interactive shell -- set some stuff up
27	set prompt = "%N@%m:%~ %# "
28	set promptchars = "%#"
29
30	set filec
31	set history = 1000
32	set savehist = (1000 merge)
33	set autolist = ambiguous
34	# Use history to aid expansion
35	set autoexpand
36	set autorehash
37	set mail = (/var/mail/$USER)
38	if ( $?tcsh ) then
39		bindkey "^W" backward-delete-word
40		bindkey -k up history-search-backward
41		bindkey -k down history-search-forward
42	endif
43
44endif
45