export LANG=ja_JP.UTF-8
autoload -U compinit
compinit
#
#コマンド履歴機能
#
HISTFILE=~/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000
setopt hist_ignore_dups # ignore duplication command history list
setopt share_history # share command history data
#cdコマンドの省略
setopt auto_cd
#前ディレクトリ表示
setopt auto_pushd
#コマンドの修正
setopt correct
#整えて表示
setopt list_packed
#先方予測
autoload predict-on
predict-on
# コマンド履歴検索
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
#
#PATHの設定
#
#Macports用
export PATH=/opt/local/bin:/opt/local/sbin/:$PATH
#Android
export PATH=$PATH:/Applications/android-sdk/platform-tools/
export PATH=$PATH:/Applications/android-sdk/tools/
#
#aliasの設定
#
alias ls="ls -G"
alias cemacs="open -n /Applications/Emacs.app"