dot.cshrc revision 278616
150476Speter# $FreeBSD: head/share/skel/dot.cshrc 278616 2015-02-12 05:35:00Z cperciva $ 218450Swosch# 358570Srwatson# .cshrc - csh resource script, read at beginning of execution by each shell 418450Swosch# 518450Swosch# see also csh(1), environ(7). 6234823Seadler# more examples available at /usr/share/examples/csh/ 718450Swosch# 81638Srgrimes 91638Srgrimesalias h history 25 101638Srgrimesalias j jobs -l 11234823Seadleralias la ls -aF 121638Srgrimesalias lf ls -FA 13234823Seadleralias ll ls -lAF 141638Srgrimes 15264465Sbdrewery# These are normally set through /etc/login.conf. You may override them here 16264465Sbdrewery# if wanted. 17278616Scperciva# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin) 18264465Sbdrewery# setenv BLOCKSIZE K 1963199Srwatson# A righteous umask 20264465Sbdrewery# umask 22 2158570Srwatson 221638Srgrimessetenv EDITOR vi 23242514Seadlersetenv PAGER more 241638Srgrimes 251638Srgrimesif ($?prompt) then 261638Srgrimes # An interactive shell -- set some stuff up 27243893Seadler set prompt = "%N@%m:%~ %# " 28234823Seadler set promptchars = "%#" 29234823Seadler 301638Srgrimes set filec 31234823Seadler set history = 1000 32234823Seadler set savehist = (1000 merge) 33234823Seadler set autolist = ambiguous 34234823Seadler # Use history to aid expansion 35234823Seadler set autoexpand 36234823Seadler set autorehash 371638Srgrimes set mail = (/var/mail/$USER) 3870892Sarchie if ( $?tcsh ) then 3970892Sarchie bindkey "^W" backward-delete-word 4070892Sarchie bindkey -k up history-search-backward 4170892Sarchie bindkey -k down history-search-forward 4270892Sarchie endif 43234823Seadler 441638Srgrimesendif 45