dot.cshrc revision 233429
150472Speter# $FreeBSD: head/etc/root/dot.cshrc 233429 2012-03-24 18:43:18Z eadler $ 239145Sbrian# 358570Srwatson# .cshrc - csh resource script, read at beginning of execution by each shell 458570Srwatson# 558570Srwatson# see also csh(1), environ(7). 6233429Seadler# more examples available at /usr/share/examples/csh/ 758570Srwatson# 837Srgrimes 912539Sjkhalias h history 25 1012539Sjkhalias j jobs -l 11233429Seadleralias la ls -aF 1212539Sjkhalias lf ls -FA 13233429Seadleralias ll ls -lAF 1437Srgrimes 1561029Sasmodai# A righteous umask 1658570Srwatsonumask 22 1758570Srwatson 18170088Sdougbset path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) 1957802Srwatson 2058570Srwatsonsetenv EDITOR vi 21233429Seadlersetenv PAGER less 2212539Sjkhsetenv BLOCKSIZE K 2337Srgrimes 2437Srgrimesif ($?prompt) then 2512539Sjkh # An interactive shell -- set some stuff up 26233429Seadler set prompt = "%n@%m:%c04%# " 27233429Seadler set promptchars = "%#" 28233429Seadler 29997Srgrimes set filec 30233429Seadler set history = 1000 31233429Seadler set savehist = 1000 32233429Seadler set autolist = ambiguous 33233429Seadler # Use history to aid expansion 34233429Seadler set autoexpand 35233429Seadler set autorehash 3612539Sjkh set mail = (/var/mail/$USER) 3770859Sarchie if ( $?tcsh ) then 3870859Sarchie bindkey "^W" backward-delete-word 3970859Sarchie bindkey -k up history-search-backward 4070859Sarchie bindkey -k down history-search-forward 41233429Seadler 42233429Seadler bindkey "\e[1~" beginning-of-line #make Home key work; 43233429Seadler bindkey "\e[3~" delete-char #make Delete key work; 44233429Seadler bindkey "\e[4~" end-of-line #make End key work; 4570859Sarchie endif 46233429Seadler 4737Srgrimesendif 48