summaryrefslogtreecommitdiff
path: root/.zsh/zshenv/99_gcloud
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshenv/99_gcloud')
-rw-r--r--.zsh/zshenv/99_gcloud15
1 files changed, 15 insertions, 0 deletions
diff --git a/.zsh/zshenv/99_gcloud b/.zsh/zshenv/99_gcloud
new file mode 100644
index 0000000..93112ae
--- /dev/null
+++ b/.zsh/zshenv/99_gcloud
@@ -0,0 +1,15 @@
+# zshenv/99_gcloud
+#
+# Copyright © 2022 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+path_append $HOME/google-cloud-sdk/bin
+
+if [ -x "$(which gcloud)" ] ; then
+ export CLOUDSDK_COMPUTE_REGION=europe-west6
+ export CLOUDSDK_COMPUTE_ZONE=europe-west6-b
+fi
+
+# vim:ft=zsh