mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
Added verisions
option for homebrew
completion
This commit is contained in:
parent
397c085a19
commit
55f09f89c8
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ _1st_arguments=(
|
||||||
'update:freshen up links'
|
'update:freshen up links'
|
||||||
'upgrade:upgrade outdated formulae'
|
'upgrade:upgrade outdated formulae'
|
||||||
'uses:show formulas which depend on a formula'
|
'uses:show formulas which depend on a formula'
|
||||||
|
'versions:show all available formula versions'
|
||||||
)
|
)
|
||||||
|
|
||||||
local expl
|
local expl
|
||||||
|
@ -71,7 +72,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|home|homepage|log|info|abv|uses|cat|deps|edit|options|versions)
|
||||||
_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)
|
remove|rm|uninstall|unlink|cleanup|link|ln)
|
||||||
|
|
Loading…
Reference in a new issue