summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Antonio Ramírez <tonior@gmail.com>2023-02-17 03:09:00 -0400
committerGitHub <noreply@github.com>2023-02-17 08:09:00 +0100
commit25368f9a65e805a961884ce70206c907218fc741 (patch)
treef495cf7b7e4277977e2a76f930704fc2cd3a2cee
parent8a68bf67720a6a5442ae947d10d74b1dd3558d91 (diff)
downloadzsh-25368f9a65e805a961884ce70206c907218fc741.tar.gz
zsh-25368f9a65e805a961884ce70206c907218fc741.tar.bz2
zsh-25368f9a65e805a961884ce70206c907218fc741.zip
fix(gcloud): add location of latest snap install (#11502)
Latest snap installs gcloud at /snap/google-cloud-cli, so add that to the list of possible locations.
-rw-r--r--plugins/gcloud/gcloud.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gcloud/gcloud.plugin.zsh b/plugins/gcloud/gcloud.plugin.zsh
index 9be9d68aa..30f1dba8f 100644
--- a/plugins/gcloud/gcloud.plugin.zsh
+++ b/plugins/gcloud/gcloud.plugin.zsh
@@ -10,6 +10,7 @@ if [[ -z "${CLOUDSDK_HOME}" ]]; then
"/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
"/usr/share/google-cloud-sdk"
"/snap/google-cloud-sdk/current"
+ "/snap/google-cloud-cli/current"
"/usr/lib/google-cloud-sdk"
"/usr/lib64/google-cloud-sdk"
"/opt/google-cloud-sdk"