]> git.ipfire.org Git - thirdparty/systemd.git/commit
zsh: update varlinkctl completions
authorRonan Pigott <ronan@rjp.ie>
Fri, 19 Jul 2024 15:35:46 +0000 (08:35 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Jul 2024 21:07:37 +0000 (23:07 +0200)
commit09a8a0d0230587ecebe97f3284e9717fcbf14f8c
tree6e34709ab5747cf7dbef0381ed1a4144471bfb61
parente8468541727db9cea18cf29c39f46013bce1bae3
zsh: update varlinkctl completions

correct redundant or mismatched tags and fill the argument field of
curcontext because _regex_words does not do that for us.

The _complete_help text now looks much more reasonable most of the time:

$ varlinkctl call /run/systemd/resolve/io.systemd.Resolve ^Xh
tags in context :completion::complete:varlinkctl::
    argument-rest  (_arguments _varlinkctl)
tags in context :completion::complete:varlinkctl-call:method:
    varlink-methods  (_varlinkctl_cmd _varlinkctl_command _arguments _varlinkctl)

Fixes: af63b4b769bf ("zsh: add varlinkctl completions")
shell-completion/zsh/_varlinkctl