diff options
| author | Bertrand Marron | 2011-10-01 04:27:19 +0200 |
|---|---|---|
| committer | Jack Nagel | 2011-10-08 20:15:40 -0500 |
| commit | 1991f9969331b73dd55a1c3cf8901e95e0314310 (patch) | |
| tree | 79734caadf8f3515b76026365d49c8cf8f9df33a /Library | |
| parent | 3dcce280e2347cf37034151fcf1182d7abd721eb (diff) | |
| download | homebrew-1991f9969331b73dd55a1c3cf8901e95e0314310.tar.bz2 | |
Add `upgrade` to the zsh completion script
Closes #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 |
