fix omz being in wrong directory
This commit is contained in:
parent
36265bd61c
commit
87dad1b7e9
1034 changed files with 0 additions and 1232 deletions
11
zsh/.local/share/oh-my-zsh/plugins/jfrog/README.md
Normal file
11
zsh/.local/share/oh-my-zsh/plugins/jfrog/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# JFrog CLI
|
||||
|
||||
This plugin provides completion for [JFrog CLI](https://github.com/jfrog/jfrog-cli).
|
||||
|
||||
JFrog CLI provides a simple interface that automates access to [Artifactory](https://jfrog.com/artifactory), [Xray](https://jfrog.com/xray), [Bintray](https://jfrog.com/bintray) and [Mission Control](https://jfrog.com/mission-control) through their respective REST APIs.
|
||||
|
||||
To use it, add `jfrog` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... jfrog)
|
||||
```
|
11
zsh/.local/share/oh-my-zsh/plugins/jfrog/jfrog.plugin.zsh
Normal file
11
zsh/.local/share/oh-my-zsh/plugins/jfrog/jfrog.plugin.zsh
Normal file
|
@ -0,0 +1,11 @@
|
|||
_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
|
Loading…
Add table
Add a link
Reference in a new issue