zsh completion for brew reinstall
Closes Homebrew/homebrew#22061. Signed-off-by: Samuel John <github@SamuelJohn.de>
This commit is contained in:
parent
3cf3fa7d8f
commit
ebae9ca7bb
@ -33,6 +33,7 @@ _1st_arguments=(
|
|||||||
'home:visit the homepage of a formula or the brew project'
|
'home:visit the homepage of a formula or the brew project'
|
||||||
'info:information about a formula'
|
'info:information about a formula'
|
||||||
'install:install a formula'
|
'install:install a formula'
|
||||||
|
'reinstall:install a formula anew; re-using its current options'
|
||||||
'link:link a formula'
|
'link:link a formula'
|
||||||
'list:list files in a formula or not-installed formulae'
|
'list:list files in a formula or not-installed formulae'
|
||||||
'log:git commit log for a formula'
|
'log:git commit log for a formula'
|
||||||
@ -87,7 +88,7 @@ case "$words[1]" in
|
|||||||
_brew_installed_formulae
|
_brew_installed_formulae
|
||||||
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae
|
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae
|
||||||
fi ;;
|
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
|
_brew_all_formulae
|
||||||
_wanted formulae expl 'all formulae' compadd -a formulae ;;
|
_wanted formulae expl 'all formulae' compadd -a formulae ;;
|
||||||
remove|rm|uninstall|unlink|cleanup|link|ln|pin|unpin)
|
remove|rm|uninstall|unlink|cleanup|link|ln|pin|unpin)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user