Skip to content

Can I use Eval annex for completions? #268

Answered by ss-o
anihm136 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @anihm136 👋

Can I use the eval annex to generate these completions...

Technically, you can, but I don't think this is what you want, as the idea of the eval annex is to speed up shell startup time because of the slow commands initialization by providing a workaround, however, in your case, it seems that your "few commands which generate a completion" is not and should not be executed at startup, because the completions can be prepared at any point (before/after startup).

Correct me if I misunderstood something 👍

which needs to be placed in fpath.

This is done automatically (zsh_plugin_standard#functions-directory) or manually passing the completion control for Zi (1.overview#the-co…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@ss-o
Comment options

@anihm136
Comment options

@ss-o
Comment options

@anihm136
Comment options

@ss-o
Comment options

Answer selected by ss-o
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