export LANG=ja_JP.UTF-8
PATH=/usr/local/bin:$PATH
alias ls='ls --color=auto'
PROMPT='$ '
RPROMPT="[%~]"
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt extended_history
LISTMAX=0
autoload -Uz compinit; compinit
zstyle ':completion:*:sudo:*' \
command-path /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin
setopt auto_pushd
setopt append_history
setopt auto_list
setopt list_packed
setopt auto_menu
setopt auto_param_keys
setopt auto_param_slash
setopt no_beep
setopt hist_ignore_dups
setopt hist_no_store
setopt hist_reduce_blanks
setopt hist_verify
setopt no_list_types
setopt magic_equal_subst
setopt mark_dirs
setopt print_eight_bit
setopt share_history
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
export LS_COLORS='di=01;36'
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
function settitle() {
print -Pn "\e]2; %n@%m:%~\a"
}
settitle
function chpwd() {
if [ "$TERM" != "dumb" -a "$TERM" != "emacs" ]
then
settitle
fi
ls
}
setopt auto_cd
setopt no_flow_control
function fullpath { find `pwd` -maxdepth 1 -name $* 2>/dev/null }