Zsh

OSX zsh .zshrc

 more .zshrc                                                                    /Users/gavin 
autoload -U compinit 
compinit 
 
zstyle ':completion:*' list-colors 'di=36' 'ln=35' 
zstyle ':completion:*:default' menu select=1 
 
autoload predict-on 
predict-on 
 
precmd () { 
      PROMPT=$'%{\e[0;33m%}%* ('$(sysctl -n vm.loadavg | perl -anpe '$_=$F[1]')$') %%%{\e[m%} ' 
  } 
  RPROMPT=$'%{\e[32m%}%/%{\e[m%}' 
 
  HISTFILE=~/.zsh_history 
  HISTSIZE=10000 
  SAVEHIST=10000 
  setopt hist_ignore_dups     # ignore duplication command history list 
  setopt share_history        # share command history data 
 
  # setopt auto_cd 
setopt auto_pushd 
setopt auto_cd 
setopt correct 
 
export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH:/usr/local/bin:/sw/bin:/sw/sbin 
export MANPATH=$MANPATH:/opt/local/share/man 
export LSCOLORS=gxfxxxxxcxxxxxxxxxxxxx 
 
alias sl="ls" 
alias ll="ls -l" 
alias ls="ls -G"
/home/yepnnet/public_html/wiki/data/pages/zsh.txt · 最后更改: 2010/02/02 02:25 由 admin
到顶部
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0