summaryrefslogtreecommitdiff
path: root/plugins/gcloud/gcloud.plugin.zsh
diff options
context:
space:
mode:
authorGijs Key <gmkey@users.noreply.github.com>2021-09-06 11:28:32 +0200
committerGitHub <noreply@github.com>2021-09-06 11:28:32 +0200
commita15ac80bba400cffd6a2e2e32be9c39cd7d13411 (patch)
treee822871953a9c2c6685bb90570cb32ba56f5554e /plugins/gcloud/gcloud.plugin.zsh
parenta5850d441b2168bbcc17ddcbe03c9b9cdb2720e0 (diff)
downloadzsh-a15ac80bba400cffd6a2e2e32be9c39cd7d13411.tar.gz
zsh-a15ac80bba400cffd6a2e2e32be9c39cd7d13411.tar.bz2
zsh-a15ac80bba400cffd6a2e2e32be9c39cd7d13411.zip
feat(gcloud): add Mac M1 Homebrew path (#10143)
Homebrew on Mac M1 is moved to the /opt/Homebrew location. This change updates the search locations with this path.
Diffstat (limited to 'plugins/gcloud/gcloud.plugin.zsh')
-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 c7aebe697..7368eb3a6 100644
--- a/plugins/gcloud/gcloud.plugin.zsh
+++ b/plugins/gcloud/gcloud.plugin.zsh
@@ -7,6 +7,7 @@ if [[ -z "${CLOUDSDK_HOME}" ]]; then
search_locations=(
"$HOME/google-cloud-sdk"
"/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
+ "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
"/usr/share/google-cloud-sdk"
"/snap/google-cloud-sdk/current"
"/usr/lib64/google-cloud-sdk/"