mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
merge
This commit is contained in:
commit
ede9aa3c59
22 changed files with 227 additions and 37 deletions
|
|
@ -31,6 +31,7 @@ _1st_arguments=(
|
|||
'options:display install options specific to formula.'
|
||||
'outdated:list formulas for which a newer version is available.'
|
||||
'prune:remove dead links.'
|
||||
'reinstall:reinstall a formula'
|
||||
{remove,rm,uninstall}':remove a formula.'
|
||||
'search:search for a formula (/regex/ or string).'
|
||||
'server:start a local web app that lets you browse formulae (requires Sinatra).'
|
||||
|
|
@ -80,7 +81,7 @@ case "$words[1]" in
|
|||
i|install|home|homepage|log|info|abv|uses|cat|deps|edit|options|versions)
|
||||
_brew_all_formulae
|
||||
_wanted formulae expl 'all formulae' compadd -a formulae ;;
|
||||
remove|rm|uninstall|unlink|cleanup|link|ln)
|
||||
reinstall|remove|rm|uninstall|unlink|cleanup|link|ln)
|
||||
_brew_installed_formulae
|
||||
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue