当前位置:   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博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/759421
推荐阅读
相关标签
  

闽ICP备14008679号