From 744ab8fc8c649265f7a8c10a3092dff5ccb0595c Mon Sep 17 00:00:00 2001 From: Bertrand Marron Date: Sat, 1 Oct 2011 04:27:19 +0200 Subject: Add `upgrade` to the zsh completion script Closes Homebrew/homebrew#7923. Signed-off-by: Jack Nagel --- Library/Contributions/brew_zsh_completion.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index 6e2bb6e12..4d7d7e43e 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -36,6 +36,7 @@ _1st_arguments=( 'server:start a local web app that lets you browse formulae (requires Sinatra)' 'unlink:unlink a formula' 'update:freshen up links' + 'upgrade:upgrade an installed formula' 'uses:show formulas which depend on a formula' ) @@ -76,7 +77,7 @@ case "$words[1]" in install|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) + remove|rm|uninstall|unlink|cleanup|link|ln|upgrade) _brew_installed_formulae _wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae ;; esac -- cgit v1.2.3