aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGreg Sieranski2013-08-22 10:14:56 -0400
committerSamuel John2013-08-23 16:40:30 +0200
commitfdfdbea866d54d9765f5effcc02518bcac70e422 (patch)
treea739a0e998864808125e220ac9f292ba1b2c5eb6 /Library
parentd11ac1796c2725007fd57ea274a188ce7563a966 (diff)
downloadhomebrew-fdfdbea866d54d9765f5effcc02518bcac70e422.tar.bz2
zsh completion for brew reinstall
Closes #22061. Signed-off-by: Samuel John <github@SamuelJohn.de>
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/brew_zsh_completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh
index 91446e7b6..2ec2cc693 100644
--- a/Library/Contributions/brew_zsh_completion.zsh
+++ b/Library/Contributions/brew_zsh_completion.zsh
@@ -33,6 +33,7 @@ _1st_arguments=(
'home:visit the homepage of a formula or the brew project'
'info:information about a formula'
'install:install a formula'
+ 'reinstall:install a formula anew; re-using its current options'
'link:link a formula'
'list:list files in a formula or not-installed formulae'
'log:git commit log for a formula'
@@ -87,7 +88,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)