From e97d064eecf5134d2cf832c5f7a17f7916ef5f8c Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 7 Nov 2022 17:22:21 +0100 Subject: zshenv: correctly handly inexistent gcloud CLI --- .zsh/zshenv/99_gcloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh/zshenv') diff --git a/.zsh/zshenv/99_gcloud b/.zsh/zshenv/99_gcloud index add747d..93112ae 100644 --- a/.zsh/zshenv/99_gcloud +++ b/.zsh/zshenv/99_gcloud @@ -7,7 +7,7 @@ path_append $HOME/google-cloud-sdk/bin -if [ -x $(which gcloud) ] ; then +if [ -x "$(which gcloud)" ] ; then export CLOUDSDK_COMPUTE_REGION=europe-west6 export CLOUDSDK_COMPUTE_ZONE=europe-west6-b fi -- cgit v1.2.3-54-g00ecf