1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-17 19:30:10 +00:00

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.
This commit is contained in:
Gijs Key 2021-09-06 11:28:32 +02:00 committed by GitHub
parent a5850d441b
commit a15ac80bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/"