]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - share/skel/dot.cshrc
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / share / skel / dot.cshrc
1 # $FreeBSD$
2 #
3 # .cshrc - csh resource script, read at beginning of execution by each shell
4 #
5 # see also csh(1), environ(7).
6 # more examples available at /usr/share/examples/csh/
7 #
8
9 alias h         history 25
10 alias j         jobs -l
11 alias la        ls -aF
12 alias lf        ls -FA
13 alias ll        ls -lAF
14
15 # These are normally set through /etc/login.conf.  You may override them here
16 # if wanted.
17 # set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
18 # setenv        BLOCKSIZE       K
19 # A righteous umask
20 # umask 22
21
22 setenv  EDITOR  vi
23 setenv  PAGER   more
24
25 if ($?prompt) then
26         # An interactive shell -- set some stuff up
27         set prompt = "%N@%m:%~ %# "
28         set promptchars = "%#"
29
30         set filec
31         set history = 1000
32         set savehist = (1000 merge)
33         set autolist = ambiguous
34         # Use history to aid expansion
35         set autoexpand
36         set autorehash
37         set mail = (/var/mail/$USER)
38         if ( $?tcsh ) then
39                 bindkey "^W" backward-delete-word
40                 bindkey -k up history-search-backward
41                 bindkey -k down history-search-forward
42         endif
43
44 endif