You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
_jfrog() { |
|
local -a opts |
|
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}") |
|
_describe 'values' opts |
|
if [[ $compstate[nmatches] -eq 0 && $words[$CURRENT] != -* ]]; then |
|
_files |
|
fi |
|
} |
|
|
|
compdef _jfrog jfrog |
|
compdef _jfrog jf
|
|
|