]> arthur.barton.de Git - brew-completion.git/commitdiff
Add completion for "brew --cellar <formula>" command
authorAlexander Barton <alex@barton.de>
Mon, 7 Jun 2010 11:37:23 +0000 (13:37 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 7 Jun 2010 11:37:23 +0000 (13:37 +0200)
brew-completion.sh

index c8aef71516e8d690b128233f78d6fd170277bf7d..f05a585809bc70c5775f4c2f87a17d80f5838641 100644 (file)
@@ -90,8 +90,8 @@ _brew()
        esac
 
        if [[ "$cur" == -* ]]; then
-               COMPREPLY=( $(compgen -W '--cache --help --prefix --version \
-                       -v -H' -- "$cur") )
+               COMPREPLY=( $(compgen -W '--cache --cellar --help --prefix \
+                       --version -v -H' -- "$cur") )
        elif [ "$cmd" = "" ]; then
                COMPREPLY=( $(compgen -W 'cleanup create edit home info \
                        install link list log outdated prune remove search \