From: Alexander Barton Date: Tue, 22 Jun 2010 16:02:59 +0000 (+0200) Subject: Added support for brew command "deps" X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5193217affcabda4b1cd0425e43b49083ae66ec5;p=brew-completion.git Added support for brew command "deps" --- diff --git a/brew-completion.sh b/brew-completion.sh index 873dd6c..6cca8a3 100644 --- a/brew-completion.sh +++ b/brew-completion.sh @@ -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