coLinux導入 Debian基本設定編3

zsh弄ってました。
とりあえず慣れない機能はまだ使わない方向で。
以下.zshrcの中身

setopt prompt_subst
if [ $USER = "root" ] 
then
    PROMPT="%n@%m# "
    RPROMPT="[%~]"
    PATH=${PATH}:/sbin:/usr/sbin:/usr/local/sbin
    HOME=/root
else
    PROMPT="%n@%m%% "
    RPROMPT="[%~]"
fi

HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000

function history-all { history -E 1 } 

# プロンプトのカラー表示を有効
autoload -U colors
colors

# デフォルトの補完機能を有効
autoload -U compinit
compinit

bindkey -e
#zstyle ':completion:*:default' menu select=1

setopt no_flow_control
setopt hist_ignore_space
setopt no_clobber
setopt no_beep
setopt ignore_eof
setopt auto_list
setopt auto_pushd
setopt pushd_ignore_dups
setopt extended_glob

setopt auto_correct
setopt correct
setopt correct_all

setopt hist_expand
setopt pushd_to_home
setopt auto_cd

setopt no_tify
setopt extended_history
setopt inc_append_history
setopt share_history
setopt hist_ignore_all_dups
setopt hist_ignore_dups
setopt hist_ignore_space
setopt hist_verify

alias rm="rm -i"
alias cp="cp -i"
alias mv="mv -i"

alias pd="pushd"
alias gd='dirs -v; echo -n "select number: "; read newdir; cd +"$newdir"'

alias ls="ls --color=auto"
alias ll="ls -lhAF --color=auto"

aliasはもうちょい登録するか迷ったんですが、どうせ忘れるのでやめました。