DRYな備忘録

Don't Repeat Yourself.

VPS上の.zshrc

20120421現在の.zshrc

ほぼ

zshの色設定|すぎゃーんメモ

のコピペ。

# utoload -U compinit
Last login: Sat Apr 21 15:08:00 on ttys002
# utoload -U compinit
# compinit

alias ll="ls -G --color=auto -la"

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 correct
#export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH
#export MANPATH=$MANPATH:/opt/local/share/man
#export LSCOLORS=gxfxxxxxcxxxxxxxxxxxxx
#
#alias sl="ls"
#alias ls="ls -G"
    

いらないところや、エラーが出たところはコメントアウトしてます。 すぎゃーんさんありがとうございます。