mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 20:31:15 +01:00
13 lines
383 B
Bash
13 lines
383 B
Bash
# 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
|