当前位置:   article > 正文

plugin zsh-autosuggestions/zsh-syntax-highlighting not found_plugin 'zsh-syntax-highlighting' not found

plugin 'zsh-syntax-highlighting' not found

一、复制下面两行代码,到命令行

  1. git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
  2. git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

二、通过下面代码,打开环境变量配置

open -e .zshrc 

三、在环境变量中,增加两个插件,保存后退出

 四、退出终端,再次登录就好了

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号