页次: 1
RT
离线
先装 grml-zsh-config 。
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
离线
我的,你参考
case $TERM in
xterm*) TERM=xterm-256color ;;
screen*) TERM=screen-256color ;;
esac
export LANG=zh_CN.UTF-8
export EDITOR="vim"
export PYTHONSTARTUP=~/.pythonstartup.py
export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH
alias e='emacs' \
et='emacs -nw' \
ed='emacs --daemon' \
ek='emacsclient -e "(kill-emacs)"' \
esk='emacsclient -e "(save-buffers-kill-emacs)"' \
ecf='emacsclient -c' \
ect='emacsclient -t' \
ls='ls --color=auto' \
dir='dir --color=auto' \
vdir='vdir --color=auto' \
grep='grep -E --color=auto' \
fgrep='fgrep --color=auto' \
egrep='egrep --color=auto' \
ll='ls -lh' \
la='ls -A' \
l='ls -CF' \
tree='tree -C' \
v='vim'
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
alias -s h=vim \
c=vim \
cpp=vim \
txt=vim \
tex=vim \
HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
bindkey "^[OH" beginning-of-line
bindkey "^[OF" end-of-line
bindkey "^[[3~" delete-char
autoload compinit && compinit
zstyle ':completion:*' menu select
setopt autocd
setopt autopushd
setopt cdablevars
setopt correct
setopt globdots
setopt extendedglob
setopt interactivecomments
setopt completeinword
setopt nobeep
setopt multios
PS1=$'%{\e[1;32m%}%n@%M%{\e[0m%}%{\e[1;33m%}:%{\e[0m%}%{\e[1;32m%}%~%{\e[0m%}%{\e[1;33m%}$%{\e[0m%} '
just for fun :-)
离线
离线
页次: 1