在安裝zsh以前,系統優先須要安裝gitgit
安裝zsh、git和wget:github
yundan@Linux:~$ sudo apt-get install zsh git wget
獲取並自動按照oh-my-zsh:ruby
yundan@Linux:~$ wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
替換bash爲zsh:bash
yundan@Linux:~$ chsh -s /bin/zsh