]> arthur.barton.de Git - brew-completion.git/blobdiff - brew-completion.sh
Updated ChangeLog for release 5
[brew-completion.git] / brew-completion.sh
index c2ddeabe8d0bdcc37a5638236f50005defa4c932..ee3a7c5764eb02641f96ce6cd43a14fa94315bd4 100644 (file)
@@ -59,14 +59,14 @@ _brew()
                        ;;
                "create")
                        if [[ "$cur" == -* ]]; then
-                               COMPREPLY=( $(compgen -W '--macports' \
-                                       -- "$cur") )
+                               COMPREPLY=( $(compgen -W '--macports --fink \
+                                       --cache' -- "$cur") )
                        fi
                        return 0
                        ;;
                "info")
                        if [[ "$cur" == -* ]]; then
-                               COMPREPLY=( $(compgen -W '--github' \
+                               COMPREPLY=( $(compgen -W '--all --github' \
                                        -- "$cur") )
                        else
                                _brew_formula "$cur"
@@ -75,7 +75,7 @@ _brew()
                        ;;
                "install")
                        if [[ "$cur" == -* ]]; then
-                               COMPREPLY=( $(compgen -W '--HEAD -H \
+                               COMPREPLY=( $(compgen -W '--git --HEAD -H \
                                        --debug -d --interactive -i
                                        --verbose -v --ignore-dependencies' \
                                        -- "$cur") )
@@ -93,9 +93,6 @@ _brew()
                        fi
                        return 0
                        ;;
-               "search"|"update"|"--config")
-                       return 0
-                       ;;
                *)
                        for c in $EXTCMD; do
                                if [ "$cmd" = "$c" ]; then
@@ -110,9 +107,10 @@ _brew()
                        --help --prefix --version -v -H' \
                        -- "$cur") )
        elif [ "$cmd" = "" ]; then
-               COMPREPLY=( $(compgen -W 'cat cleanup create deps edit home \
-                       info install link list log outdated prune remove rm \
-                       search uninstall unlink update uses $EXTCMD' \
+               COMPREPLY=( $(compgen -W 'cat cleanup create deps doctor \
+                       edit home info install link list log outdated prune \
+                       remove rm search uninstall unlink up update uses \
+                       $EXTCMD' \
                        -- "$cur") )
        fi
 }