Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: plugin zsh-syntax-highlighting not found #7688

Closed
pfdiy opened this issue Mar 22, 2019 · 5 comments · Fixed by #7686

Comments

@pfdiy
Copy link

@pfdiy pfdiy commented Mar 22, 2019

mac 10.14.3

Just updated to the latest oh-my-zsh by pulling master and am getting the following warning now when starting a new shell.

     Warning: plugin zsh-syntax-highlighting not found
     Warning: plugin zsh-autosuggestions not found
@chuckstar76

This comment has been minimized.

Copy link

@chuckstar76 chuckstar76 commented Mar 25, 2019

As described in #7690 users may have ZSH plugins installed by other tools (e.g. Homebrew) and are not sourced in $ZSH/plugins.
These should not be referenced inside plugins=(...) within the .zshrc

@XiangNanLi

This comment has been minimized.

Copy link

@XiangNanLi XiangNanLi commented Mar 27, 2019

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 .

@pfdiy

This comment has been minimized.

Copy link
Author

@pfdiy pfdiy commented Mar 27, 2019

autosuggestions

我在插件列表中 去掉 autosuggestions和zsh-syntax-highlighting,但是结果也是可以使用的.不解~~~

@chuckstar76

This comment has been minimized.

Copy link

@chuckstar76 chuckstar76 commented Mar 27, 2019

To be fair zsh-users
has proper installation instructions depending on OS for each of those plugins...

You need to follow your preferred options for your OS / package manager etc.

@ujuc

This comment has been minimized.

Copy link

@ujuc ujuc commented May 27, 2019

Later, I guess I'll come back and watch this post.

You can remove the plugin from the oh-my-zsh plugin.

In case of me, I installed the plugins using zplug, but in oh-my-zsh, I could not find the plugins installed with zplug and I got an error.

So I removed the oh-my-zsh plugin entry from .zsh.

ujuc/dotrc@e253707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.