export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \
/usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors di=34 fi=0
zstyle ':completion:*' use-cache true
zstyle ':completion:*:default' menu select=1
autoload -U compinit
compinit
SHELL=`which zsh`
PROMPT='%{^[[33m%}[${USER}@${HOSTNAME}]%{^[[m%}'
RPROMPT='%{^[[33m%}[%~]%{^[[m%}'
export PATH=$PATH:$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/local/mysql/support-files
export MANPATH=$MANPATH:$HOME/opt/local/man
export CVSROOT=~/cvs/cvsroot
export LANG=ja_JP.UTF-8
export SHELL=/usr/local/bin/zsh
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='01;33'
export BOOST_ROOT='/opt/local/include/boost-1_34_1'
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
setopt NOTIFY
setopt EQUALS
setopt ALWAYS_TO_END
setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS
setopt path_dirs
setopt prompt_subst
setopt brace_ccl
setopt auto_menu
setopt correct
setopt auto_name_dirs
setopt auto_remove_slash
setopt extended_history
setopt hist_ignore_dups
setopt extended_history
setopt hist_ignore_dups
setopt hist_ignore_space
setopt pushd_ignore_dups
setopt rm_star_silent
setopt sun_keyboard_hack
setopt extended_glob
setopt list_types
setopt no_beep
setopt always_last_prompt
setopt cdable_vars
setopt sh_word_split
setopt auto_param_keys
setopt share_history
setopt ignore_eof
setopt listambiguous
setopt extended_history
bindkey -e
HISTFILE=$HOME/.zsh-history
HISTSIZE=100000
SAVEHIST=100000
function history-all { history -E 1 }
alias ll='ls -l'
alias dir='ls -lA'
alias lt='ls -lt'
alias ls='ls -FCv'
alias rm='rm -i'
alias vi='vim'
alias h='history'
alias -g L='| less'
alias -g H='| head'
alias -g T='| tail'
alias -g G='| grep'
alias -g S='| sed'
alias -g A='| awk'
alias -g W='| wc'
alias fcd='source ~/bin/fcd.sh'
alias Emacs='open -a /Applications/Emacs.app'