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

Should it be loaded after zsh-completions? #746

Open
matru opened this issue Aug 4, 2024 · 0 comments
Open

Should it be loaded after zsh-completions? #746

matru opened this issue Aug 4, 2024 · 0 comments
Labels
bug Something isn't working

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 Something isn't working 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant