#安装zsh
$ sudo apt install zsh
$ chsh -s /bin/zsh
$ sudo reboot
#安装oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#安装主题
$ vim ~/.zshrc
ZSH_THEME="ys"
$ source ~/.zshrc
#安装补全插件
$ wget http://mimosa-pudica.net/src/incr-0.2.zsh
$ vim ~/.zshrc
source ~/.oh-my-zsh/plugins/incr/incr*.zsh
来源:oschina
链接:https://my.oschina.net/u/2003520/blog/3193617