安裝zsh
最新版本已經(jīng)默認安裝了闰挡。
sudo pacman -S zsh
安裝oh my zsh
首先安裝 git,安裝方式同上礁哄,把 zsh 換成 git 即可长酗。
安裝「oh my zsh」可以自動安裝也可以手動安裝。
自動安裝:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
更換默認的shell
chsh -s /bin/zsh