Skip to content

How do I enable Zsh completions? #74

Answered by mattmc3
mattmc3 asked this question in Q&A
Discussion options

You must be logged in to vote

Antidote is a plugin manager, not a complete Zsh framework. If you have used Oh-My-Zsh or Prezto in the past, you might be used to a ton of out-of-the-box features like TAB completions. zsh-users/zsh-completions may seem like it does the job, but it still requires you to run compinit. To get completions working properly with an antidote-based Zsh config, you’ll need to run compinit yourself once you've finished building your fpath with the location of your _completions files, or simply use a completions plugin. The good news it that’s easy to do!

If you want to manually enable Zsh completions, add the following snippet to your .zshrc after you’ve loaded your plugins.

# .zshrc
autoload -Uz…

Replies: 2 comments 1 reply

Comment options

mattmc3
Sep 19, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by mattmc3
Comment options

You must be logged in to vote
1 reply
@mattmc3
Comment options

mattmc3 May 15, 2023
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants