]> arthur.barton.de Git - brew-completion.git/blobdiff - brew-completion.sh
Remove the nonexistant list --brewed flag
[brew-completion.git] / brew-completion.sh
index 1bb21d286ffcb5096079b4ece2ee4dbab200e75f..44eb236ab07f78b0508ffe76d68537824456f02a 100644 (file)
@@ -1,5 +1,5 @@
 # brew-completion: bash completion function for Homebrew (brew command)
-# Copyright (c)1020 Alexander Barton <alex@barton.de>
+# Copyright (c)2010 Alexander Barton <alex@barton.de>
 # This is free software and published under the terms of the GNU
 # General Public License, see the file COPYING for details.
 
@@ -40,7 +40,7 @@ _brew()
        done
 
        case "$cmd" in
-               "edit"|"home"|"log"|"prune")
+               "cleanup"|"edit"|"home"|"log"|"prune")
                        _brew_formula "$cur"
                        return 0
                        ;;
@@ -77,7 +77,7 @@ _brew()
                        ;;
                "list")
                        if [[ "$cur" == -* ]]; then
-                               COMPREPLY=( $(compgen -W '--brewed \
+                               COMPREPLY=( $(compgen -W '
                                        --unbrewed' -- "$cur") )
                        else
                                _brew_formula "$cur"
@@ -93,9 +93,9 @@ _brew()
                COMPREPLY=( $(compgen -W '--cache --help --prefix --version \
                        -v -H' -- "$cur") )
        elif [ "$cmd" = "" ]; then
-               COMPREPLY=( $(compgen -W 'create edit home info install \
-                       link list log prune remove search uninstall unlink \
-                       update' -- "$cur") )
+               COMPREPLY=( $(compgen -W 'cleanup create edit home info \
+                       install link list log prune remove search uninstall \
+                       unlink update' -- "$cur") )
        fi
 }
 complete -F _brew brew