3 ms·
Skimming through this guide: https://dolthub.com/blog/2021-11-15-zsh-completions-with-subcommands/ https://dolthub.com/blog/2021-11-15-zsh-completions-with-sub.
by ivanjermakov 2y ago
Skimming through this guide: https://dolthub.com/blog/2021-11-15-zsh-completions-with-subcommands/ https://dolthub.com/blog/2021-11-15-zsh-completions-with-sub... it seems to be a lot more convoluted than I thought. Really, every external CLI binary that supports completions has this autocomplete script?
I thought zsh parsed man pages to get available options/subcommands.
- bbkane 2y agoIt seems like they all have DIFFERENT autocomplete scripts, some of which subshell out to the tool being completed to generate further completions.