summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-11-07 17:22:21 +0100
committerTobias Klauser <tklauser@distanz.ch>2022-11-07 17:22:21 +0100
commite97d064eecf5134d2cf832c5f7a17f7916ef5f8c (patch)
treeadecd29df25b5c437baa48962f357f5aaf28f12f /.zsh/zshenv
parent5908fa649f86ab0458f34401882b15c74fdb70af (diff)
zshenv: correctly handly inexistent gcloud CLI
Diffstat (limited to '.zsh/zshenv')
-rw-r--r--.zsh/zshenv/99_gcloud2
1 files changed, 1 insertions, 1 deletions
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