10342 Commits

Author SHA1 Message Date
Joshua McKinney
1e152f1417 Fix first _brew_cask completion function call
Without a call to _brew_cask at the end of the script, the first
completion does not work as zsh just autoloads the function without
executing it.
2016-09-14 10:12:46 -05:00
Joshua McKinney
3f75cb06c6 Update brew-cask zsh completions header 2016-09-11 14:13:13 -05:00
Joshua McKinney
db18a13389 Add brew-cask arg descriptions to zsh completion 2016-09-11 14:11:08 -05:00
Joshua McKinney
34bf313704 Add missing brew-cask commands to zsh completion 2016-09-11 14:10:08 -05:00
Joshua McKinney
abae36d96d Refactor brew-cask zsh completion to functions 2016-09-11 14:08:50 -05:00
Joshua McKinney
4ff6ea950b Add Homebrew Cask completions
This completion was originally sourced from the oh-my-zsh brew cask plugin.
(https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/brew-cask/brew-cask.plugin.zsh)

The rationale for splitting this from the original omz plugin is to address the
following issues:
1. it is part of oh-my-zsh which some have chosen not to use (e.g. zprezto users)
2. it acts as a script overriding the existing brew completion rather than as a
standard autoloadable file, this means it must be manually installed rather than
automatically installed as part of compinit, and may cause issues with future
commands added to homebrew.

The changes from the plugin are to fix item 2, as well as update the commands to
those current in homebrew cask.
2016-09-11 14:08:08 -05:00
Mike McQuaid
2b45ae4831 Merge pull request #926 from MikeMcQuaid/os-rubocop
Fix Library/Homebrew/os* RuboCop warnings
2016-09-11 19:11:50 +01:00
Mike McQuaid
5eeba79c27 Merge pull request #928 from MikeMcQuaid/requirements-rubocop
Fix Library/Homebrew/requirements RuboCop warnings
2016-09-11 19:11:22 +01:00
Mike McQuaid
ea0405c8dd Merge pull request #910 from MikeMcQuaid/cmd-rubocop
Fix Library/Homebrew/cmd RuboCop warnings
2016-09-11 19:11:04 +01:00
Mike McQuaid
8448fe17cb Merge pull request #923 from MikeMcQuaid/bottle-block-tap
bottle: set bottle block tap.
2016-09-11 17:59:41 +01:00
Mike McQuaid
1174264d47 cmd/uses: fix Rubocop warnings. 2016-09-11 17:59:01 +01:00
Mike McQuaid
2c5beb0eff cmd/upgrade: fix Rubocop warnings. 2016-09-11 17:59:01 +01:00
Mike McQuaid
cc526601cf cmd/update-report: fix Rubocop warnings. 2016-09-11 17:59:01 +01:00
Mike McQuaid
49e009df29 cmd/unpack: fix Rubocop warnings. 2016-09-11 17:59:01 +01:00
Mike McQuaid
7b41ccd2ea cmd/unlinkapps: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
56fc1c725a cmd/uninstall: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
a0c29eb1af cmd/tap-info: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
b9b07fc082 cmd/search: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
f9c621304d cmd/prune: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
ae43b79ca2 cmd/missing: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
4e090530b1 cmd/log: fix Rubocop warnings. 2016-09-11 17:59:00 +01:00
Mike McQuaid
9d782454ab cmd/list: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
5d761f651a cmd/install: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
990ee4f36c cmd/info: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
d9b8d0f6b1 cmd/help: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
c8084b1743 cmd/fetch: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
c45e36ffde cmd/doctor: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
5e0c222029 cmd/desc: fix Rubocop warnings. 2016-09-11 17:58:59 +01:00
Mike McQuaid
128729988e cmd/commands: fix Rubocop warnings. 2016-09-11 17:58:58 +01:00
Mike McQuaid
a70f8b9c30 Merge pull request #911 from MikeMcQuaid/language-rubocop
Fix Library/Homebrew/language RuboCop warnings
2016-09-11 17:55:03 +01:00
Mike McQuaid
caecead7a7 os/mac/xquartz: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
8271e35786 os/mac/xcode: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
00f5aa81f2 os/mac/version: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
f421374af1 os/mac/sdk: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
ecda1c9c54 os/mac/linkage_checker: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
6d1d3ff013 os/mac/cctools_mach: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
d1191c8bb0 os/mac/architecture_list: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
cefaef75e1 os/mac: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Mike McQuaid
5cba530eef requirements/x11_requirement: fix Rubocop warnings. 2016-09-11 17:42:44 +01:00
Mike McQuaid
784e804fc2 requirements/ruby_requirement: fix Rubocop warnings. 2016-09-11 17:42:44 +01:00
Mike McQuaid
dab681e715 requirements/perl_requirement: fix Rubocop warnings. 2016-09-11 17:42:44 +01:00
Mike McQuaid
fb0e121686 requirements/java_requirement: fix Rubocop warnings. 2016-09-11 17:42:44 +01:00
Mike McQuaid
7e42c5d080 requirements/emacs_requirement: fix Rubocop warnings. 2016-09-11 17:42:43 +01:00
Mike McQuaid
237b70168e bottle: set bottle block tap.
Avoids issues when using `—keep-old`
2016-09-11 17:33:39 +01:00
Mike McQuaid
984e80a7c2 Merge pull request #922 from MikeMcQuaid/cask-flaky-test
cask/cli/cleanup_spec: comment out flaky test.
2016-09-11 16:02:50 +01:00
Mike McQuaid
a54ee597d0 Merge pull request #921 from MikeMcQuaid/test-bot-no-clean-taps
test-bot: don't try to `git clean` any taps.
2016-09-11 14:40:09 +01:00
Mike McQuaid
84b8d6a33e cask/cli/cleanup_spec: comment out flaky test.
This has been causing sporadic CI failures.
2016-09-11 14:32:32 +01:00
Mike McQuaid
f583199f6e test-bot: don't try to git clean any taps.
Also, unify the cleanup code and be more careful and consistent with
untapping.
2016-09-11 14:14:31 +01:00
Mike McQuaid
6c0072d0f4 Merge pull request #919 from MikeMcQuaid/test-bot-no-more-untap-core
test-bot: try again to fix homebrew/core untap.
2016-09-11 12:57:39 +01:00
Mike McQuaid
3d73515028 test-bot: try again to fix homebrew/core untap.
Be more selective with the `git clean` and remove the broken attempt
to autotap if missing (as it'd be slow anyway).
2016-09-11 12:31:44 +01:00