From: Alexander Barton Date: Mon, 18 Jan 2010 17:21:37 +0000 (+0100) Subject: Added completion for "brew cleanup" command X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=brew-completion.git;a=commitdiff_plain;h=97634cd41d51f1a59158e6a3f0cc9cc115a65010 Added completion for "brew cleanup" command --- diff --git a/brew-completion.sh b/brew-completion.sh index 1bb21d2..fd05cdb 100644 --- a/brew-completion.sh +++ b/brew-completion.sh @@ -40,7 +40,7 @@ _brew() done case "$cmd" in - "edit"|"home"|"log"|"prune") + "cleanup"|"edit"|"home"|"log"|"prune") _brew_formula "$cur" return 0 ;; @@ -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