1铲球、克隆oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2祠饺、創(chuàng)建zsh的配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
3、設(shè)置默認(rèn)shell
chsh -s /bin/zsh
4、重新啟動(dòng)終端即可
5、切換
切換bash
chsh -s /bin/bash
切換到zsh
chsh -s /bin/zsh