This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$_" = "${BASH_SOURCE}" ] | |
then | |
printf 'source this script, do not execute.\n' >&2 | |
exit 1 | |
fi | |
eval $(minikube docker-env --shell bash) | |
if [ -n "${DOCKER_CERT_PATH}" ] && [ "${DOCKER_CERT_PATH:0:1}" != '/' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$_" != "${BASH_SOURCE}" ] | |
then | |
printf 'source this script, do not execute.\n' >&2 | |
exit 1 | |
fi | |
eval $(minikube docker-env --shell bash) | |
if [ -n "${DOCKER_CERT_PATH}" ] && [ "${DOCKER_CERT_PATH:0:1}" != '/' ] |