diff options
| author | Adam Vandenberg | 2009-08-03 00:53:56 +0800 |
|---|---|---|
| committer | Max Howell | 2009-08-03 08:13:30 +0800 |
| commit | a734b30a6818cb97b7f73dc303e1f19a55db7ad8 (patch) | |
| tree | 381441b1e7dc2cfb8253e5b2ce96ff625b279201 /Library | |
| parent | d327b7e7e2a56c41286dbc4cce7bc7287fab1ea9 (diff) | |
| download | brew-a734b30a6818cb97b7f73dc303e1f19a55db7ad8.tar.bz2 | |
Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 4 |
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 |
