6d20760b03f57fc0e0819192fe6cecb7259f2958
[dragonfly.git] / share / skel / dot.cshrc
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
8 alias h         history 25
9 alias j         jobs -l
10 alias la        ls -a
11 alias lf        ls -FA
12 alias ll        ls -lA
13
14 # A righteous umask
15 umask 22
16
17 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/pkg/sbin /usr/pkg/bin /usr/local/sbin /usr/local/bin $HOME/bin)
18
19 setenv  EDITOR  vi
20 setenv  PAGER   more
21 setenv  BLOCKSIZE       K
22
23 if ($?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
34 endif