2018-05-09 20:34:41 +00:00
|
|
|
# Autocompletion for Minikube.
|
|
|
|
#
|
2020-03-02 12:20:28 +00:00
|
|
|
if (( $+commands[minikube] )); then
|
|
|
|
__MINICUBE_COMPLETION_FILE="${ZSH_CACHE_DIR}/minicube_completion"
|
2018-05-09 20:34:41 +00:00
|
|
|
|
2020-03-02 12:20:28 +00:00
|
|
|
if [[ ! -f $__MINICUBE_COMPLETION_FILE ]]; then
|
|
|
|
minikube completion zsh >! $__MINICUBE_COMPLETION_FILE
|
|
|
|
fi
|
|
|
|
|
|
|
|
[[ -f $__MINICUBE_COMPLETION_FILE ]] && source $__MINICUBE_COMPLETION_FILE
|
|
|
|
|
|
|
|
unset __MINICUBE_COMPLETION_FILE
|
2018-05-09 20:34:41 +00:00
|
|
|
fi
|