diff options
| author | Bertrand Marron | 2011-10-01 04:27:19 +0200 |
|---|---|---|
| committer | Jack Nagel | 2011-10-08 20:15:40 -0500 |
| commit | 744ab8fc8c649265f7a8c10a3092dff5ccb0595c (patch) | |
| tree | 3216f5ee91b2f1038d1287c009980746b0269bf4 /Library | |
| parent | 74207f71e61a59be797f6139db5bcc8e73f7310c (diff) | |
| download | brew-744ab8fc8c649265f7a8c10a3092dff5ccb0595c.tar.bz2 | |
Add `upgrade` to the zsh completion script
Closes Homebrew/homebrew#7923.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_zsh_completion.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
