Make Zsh completion autoloadable
@@ -10,7 +10,9 @@ import (
"path/filepath"
)
-const ZshAutocomplete = `_jfrog() {
+const ZshAutocomplete = `#compdef _jf jf _jfrog jfrog
+
+_jfrog() {
local -a opts
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
_describe 'values' opts
