summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-10-01 18:18:01 +0200
committerTobias Klauser <tklauser@distanz.ch>2022-10-01 18:18:01 +0200
commit919d0050d0caeb513134c69538b0f39dd521b3bb (patch)
tree23874e5aaed99c520ae195105502075d41d62f3c
parent1982cca0cdad3d6af78b83e250515ef6dcab690d (diff)
zshrc: fix condition for gke-gcloud-auth-plugin
-rw-r--r--.zsh/zshrc/99_gcloud2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/zshrc/99_gcloud b/.zsh/zshrc/99_gcloud
index 39e7b9d..a548595 100644
--- a/.zsh/zshrc/99_gcloud
+++ b/.zsh/zshrc/99_gcloud
@@ -9,7 +9,7 @@ if [ -f /usr/share/google-cloud-sdk/completion.zsh.inc ] ; then
source /usr/share/google-cloud-sdk/completion.zsh.inc
fi
-if [ -x $(which gke-gcloud-auth-plugin) ] ; then
+if [ -x "$(which gke-gcloud-auth-plugin)" ] ; then
# https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
fi