Provide description for zsh completion option?

189 views Asked by At

I'm working on a completion for a shell program I have and I'd like to be able to provide metadata descriptions for the completion

For example

complete-this f<tab>

foo - "some description"
baz - "some other description"

And if "foo" is chosen, then the result of the completion will choose "foo"

Not sure how to do this or what functions to even go look at? Does anyone have any suggestions?

0

There are 0 answers