Browse Source

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.
Juan Antonio Ramírez 1 year ago
parent
commit
25368f9a65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/gcloud/gcloud.plugin.zsh

+ 1 - 0
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"