環境:git
Ubuntu 32位github
oh-my-zsh安裝:shell
1.安裝zsh: sudo apt-get install zshcurl
2.將當前用戶的shell環境修改成zsh: chsh -s /bin/zshurl
若用chsh命令修改無效,則進入/etc/passwd中修改當前用戶的shell環境。spa
3.安裝oh-my-zsh【參考:https://github.com/robbyrussell/oh-my-zsh】code
3.1安裝git: sudo apt-get install gitblog
3.2安裝curl: sudo apt-get install curlget
3.2安裝oh-my-zshit
自動安裝:
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
默認安裝路徑爲:~/.oh-my-zsh
手動安裝:
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4.重啓:sudo reboot
而後就能夠看到oh-my-zsh生效。