aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/brew_bash_completion.sh
diff options
context:
space:
mode:
authorJack Nagel2011-08-28 14:12:32 -0500
committerJack Nagel2011-08-28 14:12:53 -0500
commitdde71e97e724005e2b2b8e7cd1f1d46637780af2 (patch)
tree7fb6ce94f6883ef5752a4a622a2d9e6a44a3a2d5 /Library/Contributions/brew_bash_completion.sh
parentde56768c6e3a7ba92e3582a84ebf6799dc5b59a4 (diff)
downloadbrew-dde71e97e724005e2b2b8e7cd1f1d46637780af2.tar.bz2
Add `upgrade` to the bash-completion script
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Contributions/brew_bash_completion.sh')
-rw-r--r--Library/Contributions/brew_bash_completion.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh
index daf4eb5f7..eaa564918 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -11,7 +11,7 @@ _brew_to_completion()
[[ ${COMP_CWORD} -eq 1 ]] && {
local actions="--cache --cellar --config --env --prefix --repository audit cat cleanup
configure create deps doctor edit fetch help home info install link list log options
- outdated prune remove search test uninstall unlink update uses versions"
+ outdated prune remove search test uninstall unlink update upgrade uses versions"
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
sed -e "s/\.rb//g" -e "s/brew-//g")
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
@@ -50,7 +50,7 @@ _brew_to_completion()
return
;;
# Commands that take an existing brew
- abv|cleanup|link|list|ln|ls|remove|rm|test|uninstall|unlink)
+ abv|cleanup|link|list|ln|ls|remove|rm|test|upgrade|uninstall|unlink)
COMPREPLY=( $(compgen -W "$(\ls $(brew --cellar))" -- ${cur}) )
return
;;