Commit Graph

11 Commits

Author SHA1 Message Date
6dfa9507ce feat(gcloud): add homebrew installation path (#12308) 2024-03-30 08:26:14 +01:00
8980ffebbc feat(gcloud): add asdf installation dir (#12146) 2024-01-05 10:38:26 +01:00
91cd5341b9 fix(gcloud): source path.zsh.inc always (#11901) 2023-09-20 11:09:46 +01:00
22e710b4e4 fix(gcloud): add support for brew installations (#11772) 2023-06-26 10:35:38 +02:00
0024107310 fix(gcloud): update AUR default location (#11718) 2023-05-31 23:59:41 +02:00
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
dfa88b4d36 feat(gcloud): support macports installation path (#11133)
Closes #11133
2022-09-08 20:33:33 +02:00
18d2152798 feat(gcloud): support for official apt repo (#10889)
Fixes #10888
Closes #10889
2022-09-08 20:33:23 +02:00
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
be9160ef90 gcloud: add search path for Arch Linux (#8164) 2019-09-21 23:11:25 +02:00
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