dot.cshrc revision 233429
1# $FreeBSD: head/etc/root/dot.cshrc 233429 2012-03-24 18:43:18Z eadler $ 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 9alias h history 25 10alias j jobs -l 11alias la ls -aF 12alias lf ls -FA 13alias ll ls -lAF 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 21setenv PAGER less 22setenv BLOCKSIZE K 23 24if ($?prompt) then 25 # An interactive shell -- set some stuff up 26 set prompt = "%n@%m:%c04%# " 27 set promptchars = "%#" 28 29 set filec 30 set history = 1000 31 set savehist = 1000 32 set autolist = ambiguous 33 # Use history to aid expansion 34 set autoexpand 35 set autorehash 36 set mail = (/var/mail/$USER) 37 if ( $?tcsh ) then 38 bindkey "^W" backward-delete-word 39 bindkey -k up history-search-backward 40 bindkey -k down history-search-forward 41 42 bindkey "\e[1~" beginning-of-line #make Home key work; 43 bindkey "\e[3~" delete-char #make Delete key work; 44 bindkey "\e[4~" end-of-line #make End key work; 45 endif 46 47endif 48