From 5193217affcabda4b1cd0425e43b49083ae66ec5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 22 Jun 2010 18:02:59 +0200 Subject: [PATCH] Added support for brew command "deps" --- brew-completion.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.2