Parent directory

jfrog.plugin.zsh

277 bytes
 1_jfrog() {
 2	local -a opts
 3	opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
 4	_describe 'values' opts
 5	if [[ $compstate[nmatches] -eq 0 && $words[$CURRENT] != -* ]]; then
 6		_files
 7	fi
 8}
 9
10compdef _jfrog jfrog
11compdef _jfrog jf