Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ivanjermakov
4 months ago
|
parent
|
context
|
favorite
| on:
Ask HN: What are you working on (August 2024)?
Skimming through this guide:
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
4 months ago
[–]
It seems like they all have DIFFERENT autocomplete scripts, some of which subshell out to the tool being completed to generate further completions.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I thought zsh parsed man pages to get available options/subcommands.