From 25368f9a65e805a961884ce70206c907218fc741 Mon Sep 17 00:00:00 2001
From: Juan Antonio Ramírez <tonior@gmail.com>
Date: Fri, 17 Feb 2023 03:09:00 -0400
Subject: 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.
---
 plugins/gcloud/gcloud.plugin.zsh | 1 +
 1 file changed, 1 insertion(+)

(limited to 'plugins')

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"
-- 
cgit v1.2.3-70-g09d2