1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 03:41:57 +00:00
ohmyzsh/plugins/minikube/minikube.plugin.zsh

14 lines
383 B
Bash
Raw Normal View History

# Autocompletion for Minikube.
#
if (( $+commands[minikube] )); then
2020-09-29 21:35:29 +00:00
__MINIKUBE_COMPLETION_FILE="${ZSH_CACHE_DIR}/minikube_completion"
2020-09-29 21:35:29 +00:00
if [[ ! -f $__MINIKUBE_COMPLETION_FILE ]]; then
minikube completion zsh >! $__MINIKUBE_COMPLETION_FILE
fi
2020-09-29 21:35:29 +00:00
[[ -f $__MINIKUBE_COMPLETION_FILE ]] && source $__MINIKUBE_COMPLETION_FILE
2020-09-29 21:35:29 +00:00
unset __MINIKUBE_COMPLETION_FILE
fi