# 1.进入根目录
cd
# 2.安装
# ubantu
sudo apt-get install zsh
# CentOS
sudo yum install zsh
# 3.启动
chsh -s /bin/zsh
sudo vim /etc/passwd
# 4.安装git
# ubantu
sudo apt-get install git
# CentOS
sudo yum install git
# 5.克隆git库
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
重启虚拟机
# 进入根目录
cd
# 编辑配置文件
vi .zshrc
# 更换主题
ZSH_THEME="af-magic"
重启虚拟机