oh-my-zsh
oh-my-zshとは
zsh の設定を管理するフレームワーク
oh-my-zshをインストール
% wget http://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh
Using the Oh My Zsh template file and adding it to ~/.zshrc
Copying your current PATH and adding it to the end of ~/.zshrc for you.
Time to change your default shell to zsh!
Changing shell for dongri.
Password for dongri:
chsh: no changes made
____ / /_ ____ ___ __ __ ____ _____/ /_
/ __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
/____/ ....is now installed!
Please look over the ~/.zshrc file to select plugins, themes, and options.
p.s. Follow us at http://twitter.com/ohmyzsh.
既存の .zschrc は .zshrc.pre-oh-py-zsh にバックアップされる
% source ~/.zshrc
% vim ~/.zshrc
ZSH_THEME="agnoster"
plugins=(git ruby gem)
vimなどの文字化け対応
export LANG=en_US.UTF-8
~/.zshrcに追加
既存パス設定
source ~/.zshrc.pre-oh-my-zsh
~/.zshrc の一番後ろに追加
tmuxのwindowの名前が勝手に変わる。
DISABLE_AUTO_TITLE=true
~/.zshrc 編集
アンインストール
uninstall_oh_my_zsh