ansible-role-step-ca/files/step/step_0.15.16/armv7l/autocomplete/zsh_autocomplete

14 lines
271 B
Plaintext
Raw Normal View History

2021-06-06 16:51:16 +02:00
#compdef step
function _step {
local -a opts
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
if [[ "${opts}" != "" ]]; then
_describe -t step-commands 'values' opts
else
_path_files
fi
}
_step "$@"