# zshrc/99_gcloud # # Copyright © 2021 Tobias Klauser # 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 elif [ -f $HOME/google-cloud-sdk/completion.zsh.inc ] ; then source $HOME/google-cloud-sdk/completion.zsh.inc fi 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 # vim:ft=zsh