We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Doesn't load completions with zimfw
To Reproduce
Add zmodule unixorn/1password-op.plugin.zsh to .zimrc, watch it not load the completions
zmodule unixorn/1password-op.plugin.zsh
.zimrc
The text was updated successfully, but these errors were encountered:
trying to just source the plugin doesn't work either.
If I add this line to my .zshrc it works: eval "$(op completion zsh)"; compdef _op op
.zshrc
eval "$(op completion zsh)"; compdef _op op
No clue why this doesn't work. :(
Sorry, something went wrong.
I was playing around with getting rid of oh-my-zsh because it was a drag on my terminal load times. I ran into this same error once I removed it.
My first guess was that oh-my-zsh was doing something special setting up the compdef function. Sure enough I found this SO post.
compdef
https://unix.stackexchange.com/questions/339954/zsh-command-not-found-compinstall-compinit-compdef
I did the following and I'm up and running
autoload -Uz compinit compinit eval "$(op completion zsh)"; compdef _op op
Thanks for the fix description, I have omz loading in my zgenom config. I'll take a look at it this weekend unless you open a PR first :-)
No branches or pull requests
Describe the bug
Doesn't load completions with zimfw
To Reproduce
Add
zmodule unixorn/1password-op.plugin.zsh
to.zimrc
, watch it not load the completionsThe text was updated successfully, but these errors were encountered: