[oh-my-zsh] plugin 'zsh-autosuggestions' not found 、plugin 'zsh-syntax-highlighting' not found

zsh-syntax-highlighting

1.下载安装 highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

2.配置 .zshrc

echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

3.更新 .zshrc

source ~/.zshrc

zsh-autosuggestions

1.下载安装 highlighting

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

2.配置 .zshrc, 在 ~/. zshrc中加入以下代码�

plugins=(zsh-autosuggestions)

3.更新 .zshrc

source ~/.zshrc

最后退出重启终端即可

你可能感兴趣的:([oh-my-zsh] plugin 'zsh-autosuggestions' not found 、plugin 'zsh-syntax-highlighting' not found)