From 25368f9a65e805a961884ce70206c907218fc741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Antonio=20Ram=C3=ADrez?= Date: Fri, 17 Feb 2023 03:09:00 -0400 Subject: [PATCH] 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(+) 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"