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

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