1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-29 02:57:24 +08:00
ohmyzsh-mirror/plugins
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
..
adb adb: improve adb -s completion to show helpful info (#7532) 2019-02-17 23:10:17 +01:00
alias-finder
ansible fixed aplay conflict 2019-02-23 09:00:05 +01:00
ant ant: add README (#7375) 2018-11-01 15:17:25 +01:00
apache2-macports Plugins: apache2-macports - add README 2015-06-12 00:00:47 +02:00
arcanist Fix arcanist aliases (#5110) 2016-06-01 12:23:20 +02:00
archlinux archlinux: fix minor typo (#7752) 2019-04-09 17:24:31 +02:00
asdf
autoenv autojump: move README to right place 2018-10-09 20:34:47 +02:00
autojump autojump: fix loading when autojump is not in $PATH (#8074) 2019-08-27 21:41:44 +02:00
autopep8 autopep8: add README (#7249) 2018-10-07 23:29:50 +02:00
aws aws: use function keyword in function definitions 2019-05-28 15:33:02 +02:00
battery battery: add README (#7309) 2018-10-18 20:58:14 +02:00
bbedit use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
bgnotify bgnotify: use double dash in kdialog title option (#7153) 2018-09-25 13:56:29 +02:00
boot2docker
bower bower: add README (#7216) 2018-10-04 13:10:52 +02:00
branch
brew Added brew cask update 2019-01-20 04:24:52 +02:00
bundler Fix incorrect error message when running bi without having bundler installed (#7112) 2018-09-09 00:39:23 +02:00
cabal
cake cake: add README (#7473) 2019-01-25 12:16:20 +01:00
cakephp3
capistrano capistrano: add README (#7376) 2018-11-01 15:29:05 +01:00
cargo
cask Add more information to cask plugin README 2016-12-18 05:02:08 +01:00
catimg Capitalizate github to GitHub (#5932) 2019-05-07 20:02:41 +02:00
celery
chruby
chucknorris chucknorris: add README (#7186) 2018-10-02 21:16:50 +02:00
cloudapp
cloudfoundry
codeclimate
coffee use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
colemak
colored-man-pages
colorize
command-not-found
common-aliases common-aliases: add README (#8039) 2019-07-27 14:09:00 +02:00
compleat Cleanup 2011-05-28 13:06:03 -04:00
composer
copybuffer
copydir Add READMEs to plugins copydir and copyfile (#6802) 2018-05-07 18:00:27 +02:00
copyfile Add READMEs to plugins copydir and copyfile (#6802) 2018-05-07 18:00:27 +02:00
cp Fix cp plugin completion and refactor (#5427) 2016-10-04 01:03:16 +02:00
cpanm
dash
debian Update syntax on the remaining functions 2019-09-08 14:58:46 +02:00
dircycle dircycle: improve README (#7223) 2018-10-04 23:47:36 +02:00
dirhistory dirhistory: add README (#7239) 2018-10-06 00:02:47 +02:00
dirpersist Added README file to the dirpersist plugin (#7274) 2018-10-14 09:39:14 -07:00
django
dnf
dnote
docker Update docker plugin from upstream docker/cli (#7470) 2018-12-31 11:12:34 -08:00
docker-compose
docker-machine docker-machine: add official completion 2018-08-09 19:24:03 +02:00
doctl doctl: add README (#7346) 2018-10-26 17:05:50 +02:00
dotenv dotenv: add support for custom env file names (#7861) 2019-05-19 22:45:27 +02:00
droplr use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
drush Add drush plugin (#4490) 2019-03-29 22:39:52 +01:00
eecms
emacs emacs: revert cab1ac6e68 (#7765) 2019-04-14 12:31:52 +02:00
ember-cli
emoji use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
emoji-clock
emotty emotty: fix for undefined $TTY (FreeBSD) (#7844) 2019-05-25 12:19:51 +02:00
encode64
extract extract: add AAR Android archive support (#7511) 2019-01-15 19:03:07 +01:00
fabric fabric: support fabric 2+ completion (#8010) 2019-08-19 18:12:53 +02:00
fancy-ctrl-z Fix "hurt sme" typo 2019-02-20 16:59:57 +01:00
fasd fasd: update v alias to evaluate $EDITOR lazily (#7900) 2019-06-01 20:40:04 +02:00
fastfile
fbterm
fd fd: fix fd-find completions for debian (#7704) 2019-03-26 14:44:58 +01:00
fedora fedora: add README and deprecation warning (#7178) 2018-10-01 16:45:56 +02:00
firewalld Fixed fwl function in firewalld plugin when sources used (#7011) 2018-08-29 11:57:02 -07:00
forklift Add support for ForkLift 3 (#6490) 2018-08-07 21:39:38 +02:00
fossil
frontend-search frontend-search: add duckduckgo as an option for fallback search (#7973) 2019-07-31 09:45:54 +02:00
fzf fzf: Fix shell directory for archlinux package (#7119) 2018-09-08 15:31:13 +02:00
gas Update the script to account for the changes in 0.1.7 where .gas is a directory 2011-10-15 23:31:27 +02:00
gatsby
gb Rename getgb plugin to gb 2016-07-04 22:34:41 +02:00
gcloud Add gcloud plugin (#8144) 2019-09-20 13:58:35 +02:00
geeknote
gem change title to h1 2018-10-04 23:13:46 +02:00
git
git-auto-fetch
git-escape-magic
git-extras
git-flow
git-flow-avh
git-hubflow
git-prompt
git-remote-branch
gitfast
github
gitignore reword and fix formatting 2018-10-19 18:46:29 +02:00
glassfish application completion 2012-08-03 10:15:01 +02:00
globalias use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
gnu-utils
go
golang
gpg-agent
gradle gradle: also support settings files (#7014) 2019-03-29 22:16:29 +01:00
grails grails readme (#7365) 2018-10-28 11:26:08 -07:00
grunt grunt: add README (#7198) 2018-10-03 17:54:07 +02:00
gulp Capitalizate github to GitHub (#5932) 2019-05-07 20:02:41 +02:00
hanami use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
helm helm: add README (#7325) 2018-10-24 15:56:51 +02:00
heroku heroku: add README (#7342) 2018-10-26 14:52:54 +02:00
history Added README.md file 2015-06-12 00:17:17 +02:00
history-substring-search
homestead homestead: repair sed regex (#8103) 2019-08-24 00:00:08 +02:00
httpie httpie: bundle zsh-completions completion (e5bd16f, 2016-12-18) 2019-04-09 15:30:11 +02:00
iterm2 iterm2: add README (#7230) 2018-10-05 09:29:43 +02:00
jake-node
jenv add brew install path to search 2019-01-22 10:09:07 -05:00
jhbuild Add initial JHBuild plugin support 2015-02-15 15:39:50 +01:00
jira
jruby
jsontools
jump
kate kate: add README (#7238) 2018-10-05 23:18:10 +02:00
keychain Add keychain plugin 2018-11-01 15:07:58 -07:00
kitchen kitchen: add README (#7275) 2018-10-13 18:51:19 +02:00
knife Fix: Plugin knife: Add relative local path for commands which upload files (#4240) 2016-06-08 17:27:51 +02:00
knife_ssh
kops delete duplicate documentation 2018-10-28 13:22:26 +01:00
kube-ps1 kube-ps1: add a note where to put the PROMPT=... line (#8142) 2019-09-11 15:54:56 +02:00
kubectl
laravel
laravel4
laravel5
last-working-dir last-working-dir: disable chpwd_last_working_dir in subshells (#6817) 2018-05-11 16:28:02 +02:00
lein Refactor lein plugin (#6914) 2018-06-12 20:45:38 +02:00
lighthouse Clean up lighthouse plugin 2019-03-24 11:29:35 +01:00
lol lol: add README (#7231) 2018-10-05 09:38:50 +02:00
macports macports: add README (#7204) 2018-10-03 18:08:50 +02:00
magic-enter
man
marked2 Adding README.md and renaming plugin 2014-08-31 13:01:21 -05:00
mercurial
meteor meteor: fix formatting and reorganise 2018-06-15 23:06:09 +02:00
minikube
mix mix: add Nerves tasks to completion (#7180) 2018-10-03 20:10:40 +02:00
mix-fast use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
mosh Add READMEs to plugins: yum, mosh, themes (#7229) 2018-10-04 23:41:34 +02:00
mvn mvn: update documentation 2019-02-17 20:57:56 +01:00
mysql-macports
n98-magerun n98-magerun: support magerun for Magento 2 (#7950) 2019-08-07 20:16:25 +02:00
nanoc
ng
nmap
node
nomad feat(nomad): add common commands and new readme 2016-10-04 00:03:14 +02:00
npm
npx [plugin] update NPX docs (#6849) 2018-05-26 18:39:32 +02:00
nvm
nyan nyan: add README and deprecation warning (#7251) 2018-10-08 18:27:21 +02:00
oc
osx osx: add more arguments to itunes vol command (#7845) 2019-05-27 18:22:07 +02:00
otp otp: added a plugin for oathtool one-time passwords (#3862) 2019-03-23 22:08:35 +01:00
pass
paver A paver (Python build and configuration utility) plugin 2015-06-13 11:06:26 +02:00
pep8 pep8: add README (#7248) 2018-10-07 23:30:37 +02:00
per-directory-history
percol use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
perl
perms Add argument to set644 and set755 perms alias. (#6959) 2018-07-04 12:48:46 +02:00
phing
pip
pipenv Add plugin for pipenv (#6698) 2019-05-08 09:48:28 +02:00
pj Revert "Fix pj() function when no project has been specified" 2016-08-21 00:09:59 +02:00
please Add plugin for Please (#6568) 2019-05-08 16:53:50 +02:00
pod
postgres
pow use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
powder Added auto complete plugin for powder gem https://github.com/Rodreegez/powder 2011-08-02 11:24:09 +09:30
powify
profiles Fixes the profiles-plugin 2014-11-07 10:47:27 +01:00
pyenv
pylint added README for pylint plugin (#7277) 2018-10-14 09:43:16 -07:00
python
rails
rake
rake-fast rake-fast: remove brackets from completion entries 2019-03-25 10:12:43 +01:00
rand-quote rand-quote: refactor rand-quote function 2018-06-29 18:16:10 +02:00
rbenv rbenv: improve rbenv loading based on pyenv (#7626) 2019-05-08 09:51:05 +02:00
rbfu provide plugin for rbfu the ruby version switcher 2012-07-03 09:59:42 +02:00
react-native
rebar Add rebar to plugin 2013-01-08 13:34:33 +08:00
redis-cli
repo use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
ripgrep ripgrep: update completion to latest version (#8083) 2019-08-27 15:09:13 +02:00
ros
rsync
ruby
rust
rvm rvm plugin: Fix gems to work with GNU sed 2015-08-15 15:19:02 +09:00
safe-paste
salt Feat: add Salt completion plugin (#7031) 2018-09-06 11:34:37 -07:00
sbt sbt: add README (#7294) 2018-10-17 19:42:57 +02:00
scala
scd
screen
scw use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
sdk
sfdx sfdx: add plugin and completion for sfdx (#6540) 2019-04-16 22:08:32 +02:00
sfffe
shrink-path use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
singlechar
spring
sprunge use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
ssh-agent
stack
sublime Fix WSL check for WSL 2 and simplify nohup in open_command 2019-09-19 16:20:02 +02:00
sudo
supervisor Add version option 2013-07-03 11:57:31 +08:00
suse
svcat added svcat plugin (#7452) 2018-12-31 11:14:22 -08:00
svn
svn-fast-info
swiftpm
symfony
symfony2
systemadmin
systemd systemd: add README (#7225) 2018-10-04 23:27:09 +02:00
taskwarrior use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
terminalapp
terminitor terminitor plugin: add autocompletion also for edit, delete and setup subcommands. 2011-09-15 15:39:10 +02:00
terraform
textastic
textmate Format as a list vs a table 2018-10-12 19:08:18 -05:00
thefuck Allow plugins sudo and thefuck to be loaded before vi-mode (#8087) 2019-08-19 12:14:22 +02:00
themes
thor
tig Add README to tig plugin 2016-08-24 21:28:49 +02:00
timer
tmux
tmux-cssh
tmuxinator
torrent torrent: add README (#7873) 2019-05-24 12:17:26 +02:00
transfer
tugboat
ubuntu
ufw ufw: remove debug print (#6976) 2018-07-09 19:27:02 +02:00
urltools
vagrant Add new vagrant commands (#7455) 2018-12-31 11:13:31 -08:00
vagrant-prompt Adds vagrant_prompt_info function to your shell (#4081) 2018-07-01 20:16:08 +02:00
vault
vi-mode vi-mode: reset KEYMAP on accept-line (#7818) 2019-05-19 18:22:23 +02:00
vim-interaction Added "-n name" option to vim-interaction plugin (#4522) 2018-07-01 20:48:53 +02:00
virtualenv virtualenv: add README (#7273) 2018-10-12 21:54:26 +02:00
virtualenvwrapper
vscode vscode: add code-insiders support (#7836) 2019-05-08 16:32:27 +02:00
vundle Add README for vundle plugin (#7245) 2018-10-07 09:17:29 -07:00
wakeonlan Adding README file for the wakeonlan plugin 2011-09-20 09:27:15 +01:00
wd wd: point to the correct directory even if installed with antibody (#8116) 2019-09-02 13:40:39 +02:00
web-search web-search: add Givero (supports good causes) as search engine (#7581) 2019-03-23 17:03:45 +01:00
wp-cli fix typo (#7643) 2019-03-10 09:36:21 -07:00
xcode
yarn [yarn] more aliases ^^ (#7310) 2018-10-28 11:27:34 -07:00
yii
yii2
yum themes: fix custom themes directory (#7233) 2018-10-05 10:13:39 +02:00
z z: update to latest version (e77e938) 2019-09-13 11:44:20 +02:00
zeus Added more levels of zeus compeletion (#2058) 2018-06-30 22:45:20 +02:00
zsh_reload
zsh-navigation-tools misc: remove execution permission from various files 2018-09-15 23:57:12 +02:00