- 安装zsh
- mac brew install zsh
- linux yum install zsh -y
- 下载oh-my-zshwget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh
- 加权限chmod +x install.sh
- 执行脚本./install
- 高亮插件下载git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- 自动提示脚本下载git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 配置vim ~/.zshrc
ZSH_THEME="ys" plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
- 重载配置文件source ~/.zshrc



