Replies: 2 comments 2 replies
-
You're probably looking for: zinit creinstall -q /path/to/your/comps |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can also do the following: zi is-snippet param"ZSH_CACHE_DIR->$ZINIT[HOME_DIR]" for @OMZP::poetry |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using zinit but I'm not an expert and I have a problem.
I'm trying to use the autocompletion of poetry CLI.
The plugin is in oh-my-zsh : https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/poetry
It doesn't contains the completion but the command to create it.
And It create it in path : $ZSH_CACHE_DIR/completions/_poetry
Same problem for kubectl CLI : https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/kubectl
How to add this completion path for zinit?
I tried and it works to use this command : zinit creinstall $ZSH_CACHE_DIR/completions
But We have to do it only once and in interadtive session. It's written in the README.
But I would like to have dotfile. In case I have to reinstall my OS.
.zshrc
.zinit.zsh
Beta Was this translation helpful? Give feedback.
All reactions