Populate repo
This commit is contained in:
9
zsh/.oh-my-zsh/plugins/minikube/README.md
Normal file
9
zsh/.oh-my-zsh/plugins/minikube/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# minikube
|
||||
|
||||
This plugin provides completion for [minikube](https://github.com/kubernetes/minikube).
|
||||
|
||||
To use it, add `minikube` to the plugins array in your zshrc file.
|
||||
|
||||
```
|
||||
plugins=(... minikube)
|
||||
```
|
13
zsh/.oh-my-zsh/plugins/minikube/minikube.plugin.zsh
Normal file
13
zsh/.oh-my-zsh/plugins/minikube/minikube.plugin.zsh
Normal file
@ -0,0 +1,13 @@
|
||||
# Autocompletion for Minikube.
|
||||
#
|
||||
if (( $+commands[minikube] )); then
|
||||
__MINIKUBE_COMPLETION_FILE="${ZSH_CACHE_DIR}/minikube_completion"
|
||||
|
||||
if [[ ! -f $__MINIKUBE_COMPLETION_FILE ]]; then
|
||||
minikube completion zsh >! $__MINIKUBE_COMPLETION_FILE
|
||||
fi
|
||||
|
||||
[[ -f $__MINIKUBE_COMPLETION_FILE ]] && source $__MINIKUBE_COMPLETION_FILE
|
||||
|
||||
unset __MINIKUBE_COMPLETION_FILE
|
||||
fi
|
Reference in New Issue
Block a user