Populate repo
This commit is contained in:
10
zsh/.oh-my-zsh/plugins/jfrog/jfrog.plugin.zsh
Normal file
10
zsh/.oh-my-zsh/plugins/jfrog/jfrog.plugin.zsh
Normal file
@ -0,0 +1,10 @@
|
||||
_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
|
Reference in New Issue
Block a user