diff options
| author | Hugo Machet <mail@hmachet.com> | 2023-10-18 13:23:47 +0200 |
|---|---|---|
| committer | Hugo Machet <mail@hmachet.com> | 2023-10-18 13:23:47 +0200 |
| commit | ad1e0aa75232a63122c2e4a45b260d2fcae97aad (patch) | |
| tree | 1120f07bfb5c75fbb48a7603e6ec095546a70830 /completions/zsh/_riverctl | |
| parent | de5f21cbb4c817b495a8e417cc8fb00d6a70b325 (diff) | |
| download | river-ad1e0aa75232a63122c2e4a45b260d2fcae97aad.tar.gz river-ad1e0aa75232a63122c2e4a45b260d2fcae97aad.tar.xz | |
completions/zsh: Fix incomplete input names
Input name with ':' in it were not suggested entirely.
Diffstat (limited to 'completions/zsh/_riverctl')
| -rw-r--r-- | completions/zsh/_riverctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl index f4f5b69..6d2b3b3 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -103,7 +103,7 @@ _riverctl() _arguments '1: :->name' '2: :->commands' ':: :->args' case "$state" in - name) _values 'inputs' $(riverctl list-inputs | grep -e '^[^[:space:]]') ;; + name) _alternative "arguments:args:($(riverctl list-inputs | grep -e '^[^[:space:]]'))" ;; commands) local -a input_subcommands input_subcommands=( |
