Should it be loaded after zsh-completions? #808
-
As per https://github.com/zsh-users/zsh-completions#manual-installation, compinit should be loaded after completions. As it seems autocomplete loads compinit itself (#215 (comment)), so does it mean that it should be placed somewhere after zsh-completions? Or I can't use both? I also am wondering, in this repo description it specifically mentions the following:
Is it really important to place this near the top of the plugin loading file (I use antidote for plugin management), or is it sufficient to remove any other calls to compinit and be placed before any calls to compdef, regardless where it's placed in the file that loads the plugins? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Did you ever get an answer to this? I'm wondering the same thing. I'm not using a package manager however. |
Beta Was this translation helpful? Give feedback.
-
No, it doesn't matter which one you place first, because Autocomplete calls
Yes, removing all other calls to |
Beta Was this translation helpful? Give feedback.
No, it doesn't matter which one you place first, because Autocomplete calls
compinit
only when your command line starts up, which is after your dotfiles are sourced.Yes, r…