mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
fix(cli): repair broken zsh completion generation
This commit is contained in:
parent
4fdfdf6749
commit
8c4bec6155
2 changed files with 34 additions and 4 deletions
|
|
@ -216,9 +216,9 @@ _hermes() {{
|
|||
typeset -A opt_args
|
||||
|
||||
_arguments -C \\
|
||||
'(-)'{{-h,--help}}'[Show help and exit]' \\
|
||||
'(-)'{{-V,--version}}'[Show version and exit]' \\
|
||||
'(-)'{{-p,--profile}}'[Profile name]:profile:_hermes_profiles' \\
|
||||
"(-h --help)"{{-h,--help}}"[Show help and exit]" \\
|
||||
"(-V --version)"{{-V,--version}}"[Show version and exit]" \\
|
||||
"(-p --profile)"{{-p,--profile}}"[Profile name]:profile:_hermes_profiles" \\
|
||||
'1:command:->commands' \\
|
||||
'*::arg:->args'
|
||||
|
||||
|
|
@ -238,7 +238,7 @@ _hermes() {{
|
|||
esac
|
||||
}}
|
||||
|
||||
_hermes "$@"
|
||||
compdef _hermes hermes
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue