下载
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh install.sh
# 如果网络有问题可以直接下载github地址
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
安装
# step1
cp ~/.zshrc ~/.zshrc.orig
# step2
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
# step3
chsh -s $(which z