# $FreeBSD: src/etc/root/dot.cshrc,v 1.30.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # # .cshrc - csh resource script, read at beginning of execution by each shell # # see also csh(1), environ(7). # # handy aliases alias h history 25 alias j jobs -l alias ls ls -G alias la ls -a alias lf ls -FA alias ll ls -lA alias l ls -la # remind admins to enter their correct name during commit alias ci 'eval '\''if ( ! $?RCS_COMMITTER ) then \\ echo -n '\''Please enter your first name: '\'' \\ set RCS_COMMITTER = "$<" \\ endif \\ /usr/bin/ci -w"${RCS_COMMITTER}" '\' # cd into the directory where a file is located alias cdfn 'cd `dirname \!:1`' # handy completions :^) complete {pkg_*,port*} 'n@*@D:/var/db/pkg@ @' # A righteous umask umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) setenv EDITOR vim setenv PAGER less setenv BLOCKSIZE K setenv LANG "en_US.UTF-8" setenv LC_COLLATE "C" if ($?prompt) then # An interactive shell -- set some stuff up set prompt="%B%n%b@%U%m%u %S%/%s# " set filec set history = 1000 set savehist = 1000 set mail = (~/Maildir) set nobeep # don't beep, even if you can't tabcomplete it! bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward set autolist if ( $TERM =~ rxvt* ) then setenv TERM rxvt endif endif # $Id: .cshrc,v 1.4 2011/09/05 21:40:24 mw Exp root $