From e6b504e94d4ec2c1ea7de7dd36bb81cdfa1b64cc Mon Sep 17 00:00:00 2001 From: Greg Sieranski Date: Fri, 30 Aug 2013 14:00:04 -0400 Subject: [PATCH 1/2] reinstall tab completion which was added to homebrew --- src/_brew | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_brew b/src/_brew index 3940c05..f7e71ff 100644 --- a/src/_brew +++ b/src/_brew @@ -59,6 +59,7 @@ _1st_arguments=( 'options:display install options specific to formula' 'outdated:list formulae for which a newer version is available' 'prune:remove dead links' + 'reinstall:install a formula anew; re-using its current options' 'remove:remove a formula' 'search:search for a formula (/regex/ or string)' 'server:start a local web app that lets you browse formulae (requires Sinatra)' @@ -114,7 +115,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|reinstall|home|homepage|log|info|abv|uses|cat|deps|edit|options) _brew_all_formulae _wanted formulae expl 'all formulae' compadd -a formulae ;; remove|rm|uninstall|unlink|cleanup|link|ln|pin|unpin|test) From 62c2eb2859851ecb2db05702b66dd2b4588e572f Mon Sep 17 00:00:00 2001 From: Greg Sieranski Date: Thu, 5 Sep 2013 10:54:01 -0400 Subject: [PATCH 2/2] audit tab completion for homebrew --- src/_brew | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_brew b/src/_brew index f7e71ff..67b1173 100644 --- a/src/_brew +++ b/src/_brew @@ -40,7 +40,7 @@ _brew_outdated_formulae() { local -a _1st_arguments _1st_arguments=( - 'audit:check formulae for Homebrew coding style violations' + 'audit:check formulae for Homebrew coding style' 'cat:display formula file for a formula' 'cleanup:uninstall unused and old versions of packages' 'create:create a new formula' @@ -115,7 +115,7 @@ case "$words[1]" in _brew_installed_formulae _wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae fi ;; - install|reinstall|home|homepage|log|info|abv|uses|cat|deps|edit|options) + install|reinstall|audit|home|homepage|log|info|abv|uses|cat|deps|edit|options) _brew_all_formulae _wanted formulae expl 'all formulae' compadd -a formulae ;; remove|rm|uninstall|unlink|cleanup|link|ln|pin|unpin|test)