25368f9a65e805a961884ce70206c907218fc741
Author Juan Antonio Ramírez <tonior@gmail.com> Committer GitHub <noreply@github.com> Date 2023-02-17 07:09 UTC
Message 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.
Diff 1 diff --git a/plugins/gcloud/gcloud.plugin.zsh b/plugins/gcloud/gcloud.plugin.zsh
2 index 9be9d68aabab6587f026dbe522893d5c108544b4..30f1dba8f429e7191c837f4323f81053770f8779 100644
3 --- a/plugins/gcloud/gcloud.plugin.zsh
4 +++ b/plugins/gcloud/gcloud.plugin.zsh
5 @@ -10,6 +10,7 @@ if [[ -z "${CLOUDSDK_HOME}" ]]; then
6 "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
7 "/usr/share/google-cloud-sdk"
8 "/snap/google-cloud-sdk/current"
9 + "/snap/google-cloud-cli/current"
10 "/usr/lib/google-cloud-sdk"
11 "/usr/lib64/google-cloud-sdk"
12 "/opt/google-cloud-sdk"