aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2009-08-03 00:53:56 +0800
committerMax Howell2009-08-03 08:13:30 +0800
commit8ea4f2404983ca15bf53138e2132ee80dcd097f4 (patch)
treea86987a171e7a8e1a6467bff9013dafc45ac6db5
parentf460317c8fbe0d24935280c57334b0873c14aa9f (diff)
downloadhomebrew-8ea4f2404983ca15bf53138e2132ee80dcd097f4.tar.bz2
Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
-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 07a7849ad..e2eaf2446 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -15,7 +15,7 @@ _brew_to_completion()
prev="${COMP_WORDS[COMP_CWORD-1]}"
# We only complete unabbreviated commands...
- actions="edit info install list link make uninstall"
+ actions="edit homepage info install list link make uninstall"
# Subcommand list
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
@@ -35,7 +35,7 @@ _brew_to_completion()
;;
# Commands that take an existing brew...
- abv|info|list|link|ls|ln|rm|uninstall)
+ abv|home|homepage|info|list|link|ls|ln|rm|uninstall)
cellar_contents=`ls ${brew_base}/Cellar/`
COMPREPLY=( $(compgen -W "${cellar_contents}" -- ${cur}) )
return 0