Zsh のインストール
- root でインストール
$ yum -y install zsh
oh my zsh
- zsh の設定をいい感じにしてくれる。ちょっと古い
- zsh を使いたいアカウントで作業
$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.zshrc ~/.zshrc.origin
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
$ chsh -s /bin/zsh
サーバー再起動もしくは sshログインし直す
bash に戻したい時
echo $SHELL
cat /etc/shells
chsh -s /bin/bash