5cf9263907b74d33ac0c85a8cb99f736bb63982e
- Author
- Joshua McKinney <joshka@users.noreply.github.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/brew/_brew b/plugins/brew/_brew
2deleted file mode 100644
3index 19cfb22cb1a584059d708ea2d7025965e3e2429f..0000000000000000000000000000000000000000
4--- a/plugins/brew/_brew
5+++ /dev/null
6@@ -1,174 +0,0 @@
7-#compdef brew
8-#autoload
9-
10-# imported from https://github.com/Homebrew/homebrew/blob/29f73d2212c2b202fe25f69dcbf440d8391fa4c9/Library/Contributions/brew_zsh_completion.zsh
11-
12-# Brew ZSH completion function
13-# Drop this somewhere in your $fpath (like /usr/share/zsh/site-functions)
14-# and rename it _brew
15-#
16-# altered from _fink
17-
18-_brew_all_formulae() {
19- formulae=(`brew search`)
20-}
21-
22-_brew_installed_formulae() {
23- installed_formulae=(`brew list`)
24-}
25-
26-_brew_installed_taps() {
27- installed_taps=(`brew tap`)
28-}
29-
30-_brew_official_taps() {
31- official_taps=(`brew tap --list-official`)
32-}
33-
34-_brew_pinned_taps() {
35- pinned_taps=(`brew tap --list-pinned`)
36-}
37-
38-_brew_outdated_formulae() {
39- outdated_formulae=(`brew outdated`)
40-}
41-
42-_brew_installed_services() {
43- installed_services=(`brew services list | awk '{print $1}' | tail -n+2`)
44-}
45-
46-local -a _1st_arguments
47-_1st_arguments=(
48- 'audit:check formulae for Homebrew coding style'
49- 'cat:display formula file for a formula'
50- 'cleanup:uninstall unused and old versions of packages'
51- 'commands:show a list of commands'
52- 'config:show homebrew and system configuration'
53- 'create:create a new formula'
54- 'deps:list dependencies and dependants of a formula'
55- 'desc:display a description of a formula'
56- 'doctor:audits your installation for common issues'
57- 'edit:edit a formula'
58- 'fetch:download formula resources to the cache'
59- 'gist-logs:generate a gist of the full build logs'
60- 'home:visit the homepage of a formula or the brew project'
61- 'info:information about a formula'
62- 'install:install a formula'
63- 'reinstall:install a formula anew; re-using its current options'
64- 'leaves:show installed formulae that are not dependencies of another installed formula'
65- 'link:link a formula'
66- 'linkapps:symlink .app bundles provided by formulae into /Applications'
67- 'list:list files in a formula or not-installed formulae'
68- 'log:git commit log for a formula'
69- 'missing:check all installed formuale for missing dependencies.'
70- 'migrate:migrate renamed formula to new name'
71- 'outdated:list formulae for which a newer version is available'
72- 'pin:pin specified formulae'
73- 'postinstall:perform post_install for a given formula'
74- 'prune:remove dead links'
75- 'remove:remove a formula'
76- 'search:search for a formula (/regex/ or string)'
77- 'services:manage services'
78- 'switch:switch between different versions of a formula'
79- 'tap:tap a new formula repository from GitHub, or list existing taps'
80- 'tap-info:information about a tap'
81- 'tap-pin:pin a tap'
82- 'tap-unpin:unpin a tap'
83- 'test-bot:test a formula and build a bottle'
84- 'uninstall:uninstall a formula'
85- 'unlink:unlink a formula'
86- 'unlinkapps:remove symlinked .app bundles provided by formulae from /Applications'
87- 'unpin:unpin specified formulae'
88- 'untap:remove a tapped repository'
89- 'update:fetch latest version of Homebrew and all formulae'
90- 'upgrade:upgrade outdated formulae'
91- 'uses:show formulae which depend on a formula'
92- `brew commands --quiet --include-aliases`
93-)
94-
95-local expl
96-local -a formulae installed_formulae installed_taps official_taps outdated_formulae installed_services
97-
98-_arguments \
99- '(-v)-v[verbose]' \
100- '(--cellar)--cellar[brew cellar]' \
101- '(--env)--env[brew environment]' \
102- '(--repository)--repository[brew repository]' \
103- '(--version)--version[version information]' \
104- '(--prefix)--prefix[where brew lives on this system]' \
105- '(--cache)--cache[brew cache]' \