Skip to content

Should it be loaded after zsh-completions? #746

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

Open
matru opened this issue Aug 4, 2024 · 1 comment
Open

Should it be loaded after zsh-completions? #746

matru opened this issue Aug 4, 2024 · 1 comment
Labels

Comments

@matru
Copy link

matru commented Aug 4, 2024

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:

Remove any calls to compinit.
Add near the top, before any calls to compdef:

source /path/to/zsh-autocomplete/zsh-autocomplete.plugin.zsh

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?

@matru matru added the bug label Aug 4, 2024
@matru matru changed the title Should it be loaded after completions? Should it be loaded after zsh-completions? Aug 4, 2024
@norsemangrey
Copy link

Did you ever get an answer to this? I'm wondering the same thing. I'm not using a package manager however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants