feat: add Zsh shell completion support#79
Conversation
* New 'hcom completion zsh' command generates a _hcom Zsh completion function covering all commands, tools, hooks, and flags * Supports '--install' flag to write completions to a detected directory * Completion script is generated programmatically from integration_spec, staying in sync as tools are added or removed * All 1993 existing tests pass Usage: eval "$(hcom completion zsh)" hcom completion zsh --install
|
thanks for the pr. here is ai review: PR #79 —
|
Add Zsh shell completion for all hcom commands via a new
hcom completion zshcommand.Changes
New:
hcom completion zshcommand_hcomZsh completion function covering:send,list,events,stop,start,listen,status,config,hooks,archive,reset,transcript,bundle,kill,term,relay,run,update,completion)r/resume,f/fork)--name,--go,--help,-h,--version,-v,--new-terminal)hcom 3 claude ...)--claude-args,--gemini-args)--installflag$fpathor standard locations (~/.zsh/completion,/usr/local/share/zsh/site-functions/,~/.oh-my-zsh/completions/)Generation from integration specs
integration_spec::ALL, ensuring it stays in sync as tools are added or removedUsage