xref: /dragonfly/share/skel/dot.cshrc (revision 36a3d1d6)
1# $FreeBSD: src/share/skel/dot.cshrc,v 1.10.2.3 2001/08/01 17:15:46 obrien Exp $
2# $DragonFly: src/share/skel/dot.cshrc,v 1.3 2006/01/10 01:56:04 corecode Exp $
3#
4# .cshrc - csh resource script, read at beginning of execution by each shell
5#
6# see also csh(1), environ(7).
7#
8
9alias h		history 25
10alias j		jobs -l
11alias la	ls -a
12alias lf	ls -FA
13alias ll	ls -lA
14
15# A righteous umask
16umask 22
17
18set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/pkg/sbin /usr/pkg/bin /usr/pkg/xorg/bin /usr/local/sbin /usr/local/bin $HOME/bin)
19
20setenv	EDITOR	vi
21setenv	PAGER	more
22setenv	BLOCKSIZE	K
23
24if ($?prompt) then
25	# An interactive shell -- set some stuff up
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