Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

How to write shell completion function in Go #84

Open
blueray453 opened this issue Sep 9, 2020 · 0 comments
Open

How to write shell completion function in Go #84

blueray453 opened this issue Sep 9, 2020 · 0 comments

Comments

@blueray453
Copy link

For example the following is a zsh completion function for command foo:

#compdef _foo foo
compadd first second third fourth

So, if we type foo <tab> in the zsh terminal, it suggests first second third fourth.

How can I do this using cli?

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

No branches or pull requests

1 participant