xref: /dragonfly/share/skel/dot.cshrc (revision d4ef6694)
1# $FreeBSD: src/share/skel/dot.cshrc,v 1.10.2.3 2001/08/01 17:15:46 obrien Exp $
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 /usr/pkg/sbin /usr/pkg/bin $HOME/bin)
18
19setenv	EDITOR	vi
20setenv	PAGER	less
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