autoload -U compinit compinit #### Encoding #export LANG=ja_JP.UTF-8 #### Prompt Display PROMPT="%m@%n%% " RPROMPT="[%~]" SPROMPT="%r is correct? [n,y,a,e]: " #### Terminal Title case "${TERM}" in kterm*|xterm) precmd() { echo -ne "\033]0;${USER}@${HOST%%.*}:${PWD}\007" } ;; esac #### Command Histry HISTFILE=~/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt hist_ignore_dups # ignore duplication command history list setopt share_history # share command history data #### Command Extend setopt auto_cd setopt auto_pushd setopt correct setopt nolistbeep #### Alias alias ls="ls --color=auto" alias la="ls -a" alias cls="clear" # [ -f ~/.zshrc.mine ] && source ~/.zshrc.mine