Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / etc / root / dot.cshrc
1 # $FreeBSD: src/etc/root/dot.cshrc,v 1.25.2.2 2001/03/05 13:36:53 asmodai Exp $
2 # $DragonFly: src/etc/root/dot.cshrc,v 1.3 2005/12/04 22:29:30 dillon 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
9 alias h         history 25
10 alias j         jobs -l
11 alias la        ls -a
12 alias lf        ls -FA
13 alias ll        ls -lA
14
15 # A righteous umask
16 umask 22
17
18 set path = (/sbin /bin /usr/sbin /usr/bin /usr/pkg/bin /usr/pkg/sbin /usr/games /usr/local/sbin /usr/local/bin /usr/pkg/xorg/bin /usr/X11R6/bin $HOME/bin)
19
20 setenv  EDITOR  vi
21 setenv  PAGER   more
22 setenv  BLOCKSIZE       K
23
24 if ($?prompt) then
25         # An interactive shell -- set some stuff up
26         set prompt = "`hostname -s`# "
27         set filec
28         set history = 100
29         set savehist = 100
30         set mail = (/var/mail/$USER)
31         if ( $?tcsh ) then
32                 bindkey "^W" backward-delete-word
33                 bindkey -k up history-search-backward
34                 bindkey -k down history-search-forward
35         endif
36 endif