Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
55f09f89
Commit
55f09f89
authored
Dec 13, 2012
by
Artie Kh
Browse files
Added `verisions` option for `homebrew` completion
parent
397c085a
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/brew/_brew
View file @
55f09f89
...
@@ -35,6 +35,7 @@ _1st_arguments=(
...
@@ -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
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment