formatted minikube completion and used helper function

This commit is contained in:
Gurkirat Singh
2021-01-10 19:29:11 +05:30
committed by Noah Gorny
parent 868d64ebb8
commit 645054a8c4
2 changed files with 4 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
#!/usr/bin/env bash
# shellcheck shell=bash
# minikube (Local Kubernetes) completion
if command -v minikube &>/dev/null
then
eval "$(minikube completion bash)"
if _command_exists minikube; then
eval "$(minikube completion bash)"
fi