summaryrefslogtreecommitdiff
path: root/plugins/brew
diff options
context:
space:
mode:
authorArtie Kh <khrt@ya.ru>2012-12-13 19:09:28 +0200
committerArtie Kh <khrt@ya.ru>2012-12-13 19:09:28 +0200
commit55f09f89c8602efa6545411448e377aa87f64e7b (patch)
treed5fc290fc36d07512dd5535cf8cb22900823c0a2 /plugins/brew
parent397c085a19a22f6be515665835d09a2505cb3f23 (diff)
downloadzsh-55f09f89c8602efa6545411448e377aa87f64e7b.tar.gz
zsh-55f09f89c8602efa6545411448e377aa87f64e7b.tar.bz2
zsh-55f09f89c8602efa6545411448e377aa87f64e7b.zip
Added `verisions` option for `homebrew` completion
Diffstat (limited to 'plugins/brew')
-rw-r--r--plugins/brew/_brew3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/brew/_brew b/plugins/brew/_brew
index 1dcf0a4bf..e43ba2900 100644
--- a/plugins/brew/_brew
+++ b/plugins/brew/_brew
@@ -35,6 +35,7 @@ _1st_arguments=(
'update:freshen up links'
'upgrade:upgrade outdated formulae'
'uses:show formulas which depend on a formula'
+ 'versions:show all available formula versions'
)
local expl
@@ -71,7 +72,7 @@ case "$words[1]" in
_brew_installed_formulae
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae
fi ;;
- install|home|homepage|log|info|abv|uses|cat|deps|edit|options)
+ install|home|homepage|log|info|abv|uses|cat|deps|edit|options|versions)
_brew_all_formulae
_wanted formulae expl 'all formulae' compadd -a formulae ;;
remove|rm|uninstall|unlink|cleanup|link|ln)