Commit graph

8 commits

Author SHA1 Message Date
Gustavo Perdomo
22e710b4e4
fix(gcloud): add support for brew installations (#11772) 2023-06-26 10:35:38 +02:00
William Snyders
0024107310
fix(gcloud): update AUR default location (#11718) 2023-05-31 23:59:41 +02:00
Juan Antonio Ramírez
25368f9a65
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.
2023-02-17 08:09:00 +01:00
ajilty
dfa88b4d36
feat(gcloud): support macports installation path (#11133)
Closes #11133
2022-09-08 20:33:33 +02:00
James Yeoman
18d2152798
feat(gcloud): support for official apt repo (#10889)
Fixes #10888
Closes #10889
2022-09-08 20:33:23 +02:00
Gijs Key
a15ac80bba
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.
2021-09-06 11:28:32 +02:00
Franco Catena
be9160ef90 gcloud: add search path for Arch Linux (#8164) 2019-09-21 23:11:25 +02:00
Ian Chesal
6cfaa07627 Add gcloud plugin (#8144)
* A gcloud plugin

This PR addresses issue #6205

This adds support for loading completion for the Google Cloud SDK
command line tools. It searches the known paths for an SDK and loads the
provided completion if it is found. Users can supply a custom location
for the SDK by setting `CLOUDSDK_HOME` in their `zshrc` before loading
oh-my-zsh plugins.

* Canoncial zsh and some safe guards

Based on a PR review from mcornella. All off this has now been tested
on the following variants:

  - macOS 10.14.6 - Homebrew
  - macOS 10.14.6 - Custom install
  - Ubuntu 16.04.6 LTS - apt install
  - Ubuntu 18.04.3 LTS - apt install
  - Ubuntu 18.04.3 LTS - snap classic install
  - CentOS 7 - yum install
2019-09-20 13:58:35 +02:00