]> arthur.barton.de Git - brew-completion.git/blobdiff - brew-completion.sh
Added brew command alias "rm"
[brew-completion.git] / brew-completion.sh
index 6cca8a3e9aaa77f7f522c30588d24bc525d54be5..c2ddeabe8d0bdcc37a5638236f50005defa4c932 100644 (file)
@@ -48,12 +48,12 @@ _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
                        ;;
-               "link"|"remove"|"uninstall"|"unlink")
+               "link"|"remove"|"rm"|"uninstall"|"unlink")
                        _brew_formula_installed "$cur"
                        return 0
                        ;;
@@ -111,8 +111,8 @@ _brew()
                        -- "$cur") )
        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' \
+                       info install link list log outdated prune remove rm \
+                       search uninstall unlink update uses $EXTCMD' \
                        -- "$cur") )
        fi
 }