首页 > 其他 > 详细

source ~/.zshrc [oh-my-zsh] plugin 'zsh-syntax-highlighting' not found

时间:2021-04-15 23:32:06      阅读:50      评论:0      收藏:0      [点我收藏+]

source ~/.zshrc
[oh-my-zsh] plugin ‘zsh-syntax-highlighting‘ not found

 

 

参考https://github.com/ohmyzsh/ohmyzsh/issues/7688

I solve it by the command :

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

on-my-zsh check if the plugin is exit at ‘$base_dir/plugins/$name/$name.plugin.zsh‘ or ‘$base_dir/plugins/$name/_$name‘ , so the plugin should be at this path .

 

我直接执行的第2条红色那条命令,第1条命令提示我已经存在。

 

验证:再次执行source ~/.zshrc 没有报错。

source ~/.zshrc [oh-my-zsh] plugin 'zsh-syntax-highlighting' not found

原文:https://www.cnblogs.com/yiyaxuan/p/14664546.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!