参考地址:http://macshuo.com/?p=676
ubuntu16.04默认的shell是bshell,那么有更好的zsh去使用,确切地说zsh很难,那么就是用oh my zsh.
步骤如下:
1.安装zsh,命令是:sudo apt-get install zsh
2.下载oh my zsh,命令是:git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
3.复制oh my zsh下的配置内容,命令是:cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4.更改默认的shell,命令是:chsh -s /bin/zsh , 然后输入密码,重新打开shell,就是oh my zsh内容