From 63164099d267d915a41f0baef30f7709580d3e3a Mon Sep 17 00:00:00 2001 From: tinogomes Date: Thu, 22 Aug 2013 15:09:03 -0300 Subject: [PATCH] completion for install on homebrew --- plugins/brew/_brew | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/brew/_brew b/plugins/brew/_brew index c065a8bab..c7b582d9d 100644 --- a/plugins/brew/_brew +++ b/plugins/brew/_brew @@ -23,7 +23,7 @@ _1st_arguments=( 'fetch:download the source packages for the given formulae.' 'home:visit the homepage of a formula or the brew project.' 'info:information about a formula.' - 'install:install a formula.' + {install,i}':install a formula.' {link,ln}':link a formula.' {list,ls}':list files in a formula or not-installed formulae.' 'log:git commit log for a formula.' @@ -77,7 +77,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|versions) + i|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)