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"
/var/lib/openshift/bccd8eac1968476490eaee9ced33c7bf/app-root/runtime/repo/php/data/pages/zsh.txt · 最后更改: 2012/09/07 09:21 (外部编辑)
到顶部
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0