我的 FreeBSD .cshrc
alias h history 25alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias ls ls -G
alias vi 'env LC_CTYPE=en_US.ISO8859-1 vi'
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
setenvEDITORvi
setenvPAGER more
setenvBLOCKSIZE K
setenv LC_CTYPE zh_TW.Big5
setenv LANG zh_TW.Big5
if ($?prompt) then
# An interactive shell -- set some stuff up
#set prompt = "`/bin/hostname -s`# "
#set prompt = "%B%n@%m [%/] # "
set prompt = "%B%n[%/]#"
set filec
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
頁:
[1]