1、克隆oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2、创建zsh的配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
3、设置默认shell
chsh -s /bin/zsh
4、重新启动终端即可
5、切换
切换bash
chsh -s /bin/bash
切换到zsh
chsh -s /bin/zsh
1、克隆oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2、创建zsh的配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
3、设置默认shell
chsh -s /bin/zsh
4、重新启动终端即可
5、切换
切换bash
chsh -s /bin/bash
切换到zsh
chsh -s /bin/zsh