# $FreeBSD: src/etc/root/dot.cshrc,v 1.28 2001/01/10 02:37:16 archie Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias ls ls -Gw
alias df df -h
alias du du -h
alias mount_msdosfs mount_msdosfs -L zh_CN.eucCN
alias mount_cdrom mount_cd9660 -C eucCN
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
setenv EDITOR ee
setenv PAGER more
setenv BLOCKSIZE K
setenv LANG zh_CN.eucCN
setenv MM_CHARSET eucCN
setenv LC_ALL zh_CN.eucCN
setenv LC_CTYPE zh_CN.eucCN
setenv LC_TIME en_US.ISO8859-1
setenv LSCOLORS ExFxCxDxBxEgDxDEhGAcHd
setenv XMODIFIERS @im=fcitx
setenv CCACHE_DIR /usr/ccache
#setenv PACKAGEROOT ftp://ftp.tw.freebsd.org
#setenv PACKAGESITE ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages/Latest/
setenv PACKAGESITE ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/i386/packages-stable/Latest/
#setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
#setenv JAVA_HOME /usr/local/jdk1.4.2
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "%{\e[0;35m%}[%t]%{\e[0;36m%}[%~]%{\e[0;32m%}>>> "
set filec
set nobeep
set autolist
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
阅读(774) | 评论(0) | 转发(0) |