From 919d0050d0caeb513134c69538b0f39dd521b3bb Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 1 Oct 2022 18:18:01 +0200 Subject: zshrc: fix condition for gke-gcloud-auth-plugin --- .zsh/zshrc/99_gcloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh/zshrc/99_gcloud') 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 -- cgit v1.2.3-54-g00ecf