dotfiles/dot_oh-my-zsh/plugins/minikube/minikube.plugin.zsh

14 lines
383 B
Bash
Raw Normal View History

2023-01-30 14:28:59 +01:00
# 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