1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 01:33:37 +08:00
ohmyzsh/plugins/minikube/minikube.plugin.zsh
2020-03-02 13:20:28 +01:00

14 lines
383 B
Bash

# Autocompletion for Minikube.
#
if (( $+commands[minikube] )); then
__MINICUBE_COMPLETION_FILE="${ZSH_CACHE_DIR}/minicube_completion"
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
fi