# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '$home/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
setopt nolistbeep
setopt auto_cd auto_pushd list_packed
setopt correct
setopt hist_ignore_dups share_history
autoload history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
bindkey "^P" history-beginning-search-backward-end
bindkey "^N" history-beginning-search-forward-end
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30'
export LANG=ja_JP.UTF-8
zstyle ':completion:*' list-colors 'di=34' 'ln=35' 'so=32' 'ex=31' 'bd=46;34' 'cd=43;34'
alias ls="ls -F"
alias l="ls"
alias ll="ls -l"
alias la="ls -al"
alias le="less"
export EDITOR=vi
# prompt
case ${UID} in
0)
PROMPT="%B%{ESC[33m%}%m#%{ESC[m%}%b "
RPROMPT="%B%{ESC[33m%}[%~]%{ESC[m%}%b"
;;
*)
PROMPT="%B%{ESC[32m%}%m$%{ESC[m%}%b "
RPROMPT="%B%{ESC[32m%}[%~]%{ESC[m%}%b"
;;
esac