Deleted Added
full compact
dot.cshrc (170119) dot.cshrc (234823)
1# $FreeBSD: head/share/skel/dot.cshrc 170119 2007-05-29 22:07:57Z dougb $
1# $FreeBSD: head/share/skel/dot.cshrc 234823 2012-04-29 22:29:48Z eadler $
2#
3# .cshrc - csh resource script, read at beginning of execution by each shell
4#
5# see also csh(1), environ(7).
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/
6#
7
8alias h history 25
9alias j jobs -l
7#
8
9alias h history 25
10alias j jobs -l
10alias la ls -a
11alias la ls -aF
11alias lf ls -FA
12alias lf ls -FA
12alias ll ls -lA
13alias ll ls -lAF
13
14# A righteous umask
15umask 22
16
17set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
18
19setenv EDITOR vi
14
15# A righteous umask
16umask 22
17
18set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
19
20setenv EDITOR vi
20setenv PAGER more
21setenv PAGER less
21setenv BLOCKSIZE K
22
23if ($?prompt) then
24 # An interactive shell -- set some stuff up
22setenv BLOCKSIZE K
23
24if ($?prompt) then
25 # An interactive shell -- set some stuff up
26 if ($uid == 0) then
27 set user = root
28 endif
29 set prompt = "%n@%m:%/ %# "
30 set promptchars = "%#"
31
25 set filec
32 set filec
26 set history = 100
27 set savehist = 100
33 set history = 1000
34 set savehist = (1000 merge)
35 set autolist = ambiguous
36 # Use history to aid expansion
37 set autoexpand
38 set autorehash
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
39 set mail = (/var/mail/$USER)
40 if ( $?tcsh ) then
41 bindkey "^W" backward-delete-word
42 bindkey -k up history-search-backward
43 bindkey -k down history-search-forward
44 endif
45
34endif
46endif