Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
b51c2a0d
Commit
b51c2a0d
authored
Sep 11, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1987 from zvirusz/patch-1
Added 'reinstall' command to brew completion
parents
04532316
c8dbadd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
_brew
plugins/brew/_brew
+2
-1
No files found.
plugins/brew/_brew
View file @
b51c2a0d
...
@@ -28,6 +28,7 @@ _1st_arguments=(
...
@@ -28,6 +28,7 @@ _1st_arguments=(
'missing:check all installed formuale for missing dependencies.'
'missing:check all installed formuale for missing dependencies.'
'outdated:list formulas for which a newer version is available'
'outdated:list formulas for which a newer version is available'
'prune:remove dead links'
'prune:remove dead links'
'reinstall:reinstall a formula'
'remove:remove a formula'
'remove:remove a formula'
'search:search for a formula (/regex/ or string)'
'search:search for a formula (/regex/ or string)'
'server:start a local web app that lets you browse formulae (requires Sinatra)'
'server:start a local web app that lets you browse formulae (requires Sinatra)'
...
@@ -75,7 +76,7 @@ case "$words[1]" in
...
@@ -75,7 +76,7 @@ case "$words[1]" in
install|home|homepage|log|info|abv|uses|cat|deps|edit|options|versions)
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)
re
install|re
move|rm|uninstall|unlink|cleanup|link|ln)
_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 ;;
esac
esac
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