2019-10-06 08:58:51 +00:00
|
|
|
#compdef $PROG
|
|
|
|
|
2016-07-20 22:02:16 +00:00
|
|
|
_cli_zsh_autocomplete() {
|
2014-06-18 15:59:07 +00:00
|
|
|
|
2016-07-20 22:02:16 +00:00
|
|
|
local -a opts
|
2016-07-24 21:29:13 +00:00
|
|
|
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
|
2016-07-20 22:02:16 +00:00
|
|
|
|
|
|
|
_describe 'values' opts
|
|
|
|
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
compdef _cli_zsh_autocomplete $PROG
|