安装
安装插件
git clone https://gitee.com/yaozhijin/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://gitee.com/xiaoqqya/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
vi ~/.zshrc
修改一行plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source ~/.zshrc