[Tips] zsh 自动补全插件安装

  cd /home/用户名/.oh-my-zsh/custom/plugins
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
#编辑~/.zshrc,在plugins=(git)这一行中添加plugins=(git zsh-autosuggestions)
source ~/.zshrc

  

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
# 编辑~/.zshrc,在plugins=(git)这一行中添加plugins=(git zsh-autosuggestions)
source ~/.zshrc

  

原文地址:https://www.cnblogs.com/immortalBlog/p/12704543.html