dot.cshrc (242541) | dot.cshrc (243893) |
---|---|
1# $FreeBSD: head/share/skel/dot.cshrc 242541 2012-11-04 01:00:35Z bapt $ | 1# $FreeBSD: head/share/skel/dot.cshrc 243893 2012-12-05 13:56:39Z 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 --- 8 unchanged lines hidden (view full) --- 18set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) 19 20setenv EDITOR vi 21setenv PAGER more 22setenv BLOCKSIZE K 23 24if ($?prompt) then 25 # An interactive shell -- set some stuff up | 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 --- 8 unchanged lines hidden (view full) --- 18set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) 19 20setenv EDITOR vi 21setenv PAGER more 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:%~ %# " | 26 set prompt = "%N@%m:%~ %# " |
30 set promptchars = "%#" 31 32 set filec 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 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 46endif | 27 set promptchars = "%#" 28 29 set filec 30 set history = 1000 31 set savehist = (1000 merge) 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 endif 42 43endif |