]> arthur.barton.de Git - brew-completion.git/commitdiff
Added support for brew command "uses"
authorAlexander Barton <alex@barton.de>
Tue, 22 Jun 2010 16:03:50 +0000 (18:03 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 22 Jun 2010 16:03:50 +0000 (18:03 +0200)
brew-completion.sh

index 6cca8a3e9aaa77f7f522c30588d24bc525d54be5..7e9425b4f70947c05ba61f8b05f8da068cd03374 100644 (file)
@@ -48,7 +48,7 @@ _brew()
        done
 
        case "$cmd" in
-               "cat"|"cleanup"|"deps"|"edit"|"home"|"log"|"prune" \
+               "cat"|"cleanup"|"deps"|"edit"|"home"|"log"|"prune"|"uses" \
                |"--cache"|"--cellar"|"--prefix")
                        _brew_formula "$cur"
                        return 0
@@ -112,7 +112,7 @@ _brew()
        elif [ "$cmd" = "" ]; then
                COMPREPLY=( $(compgen -W 'cat cleanup create deps edit home \
                        info install link list log outdated prune remove \
-                       search uninstall unlink update $EXTCMD' \
+                       search uninstall unlink update uses $EXTCMD' \
                        -- "$cur") )
        fi
 }