22e710b4e4c8934706ef5047506b3b7594af9138
- Author
- Gustavo Perdomo <gperdomor@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(gcloud): add support for `brew` installations (#11772)
Diff
1diff --git a/plugins/gcloud/gcloud.plugin.zsh b/plugins/gcloud/gcloud.plugin.zsh
2index 9c26aea10185eed957e66dd212310dd3fcafc207..5c57302d36d9ffd891c0a6f3d72fa79d8553d7a3 100644
3--- a/plugins/gcloud/gcloud.plugin.zsh
4+++ b/plugins/gcloud/gcloud.plugin.zsh
5@@ -6,6 +6,7 @@
6 if [[ -z "${CLOUDSDK_HOME}" ]]; then
7 search_locations=(
8 "$HOME/google-cloud-sdk"
9+ "/usr/local/share/google-cloud-sdk"
10 "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
11 "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
12 "/usr/share/google-cloud-sdk"