150472Speter# $FreeBSD$
239145Sbrian#
358570Srwatson# .cshrc - csh resource script, read at beginning of execution by each shell
458570Srwatson#
558570Srwatson# see also csh(1), environ(7).
6233429Seadler# more examples available at /usr/share/examples/csh/
758570Srwatson#
837Srgrimes
912539Sjkhalias h		history 25
1012539Sjkhalias j		jobs -l
11233429Seadleralias la	ls -aF
1212539Sjkhalias lf	ls -FA
13233429Seadleralias ll	ls -lAF
1437Srgrimes
1561029Sasmodai# A righteous umask
1658570Srwatsonumask 22
1758570Srwatson
18170088Sdougbset path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
1957802Srwatson
2058570Srwatsonsetenv	EDITOR	vi
21242514Seadlersetenv	PAGER	more
2212539Sjkhsetenv	BLOCKSIZE	K
2337Srgrimes
2437Srgrimesif ($?prompt) then
2512539Sjkh	# An interactive shell -- set some stuff up
26243893Seadler	set prompt = "%N@%m:%~ %# "
27233429Seadler	set promptchars = "%#"
28233429Seadler
29997Srgrimes	set filec
30233429Seadler	set history = 1000
31234133Seadler	set savehist = (1000 merge)
32233429Seadler	set autolist = ambiguous
33233429Seadler	# Use history to aid expansion
34233429Seadler	set autoexpand
35233429Seadler	set autorehash
3612539Sjkh	set mail = (/var/mail/$USER)
3770859Sarchie	if ( $?tcsh ) then
3870859Sarchie		bindkey "^W" backward-delete-word
3970859Sarchie		bindkey -k up history-search-backward
4070859Sarchie		bindkey -k down history-search-forward
4170859Sarchie	endif
42233429Seadler
4337Srgrimesendif
44