summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-03-29 19:35:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2021-03-29 19:35:14 +0200
commitfb509f07440b2914599ac91b514251c12585d084 (patch)
tree99d61431f6b6549562595bec7cdd7b0beb2e2d1a
parent960e368b3832ba67722ae801d0f4ae49cdecd8a4 (diff)
zshrc: source gcloud completion config if available
-rw-r--r--.zsh/zshrc/99_gcloud12
1 files changed, 12 insertions, 0 deletions
diff --git a/.zsh/zshrc/99_gcloud b/.zsh/zshrc/99_gcloud
new file mode 100644
index 0000000..138bba8
--- /dev/null
+++ b/.zsh/zshrc/99_gcloud
@@ -0,0 +1,12 @@
+# zshrc/99_gcloud
+#
+# Copyright © 2021 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+if [ -f /usr/share/google-cloud-sdk/completion.zsh.inc ] ; then
+ source /usr/share/google-cloud-sdk/completion.zsh.inc
+fi
+
+# vim:ft=zsh