completions/zsh: Fix incomplete input names
Input name with ':' in it were not suggested entirely.
This commit is contained in:
parent
de5f21cbb4
commit
ad1e0aa752
@ -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=(
|
||||
|
Loading…
Reference in New Issue
Block a user