From 43dc7c964511864e10e10c0981f6716a3f7950fd Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 30 Jan 2010 23:50:09 -0800 Subject: [PATCH] deps was missing from bash completion --- Library/Contributions/brew_bash_completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 8b085d0a68..86dbde5bf6 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -13,7 +13,7 @@ _brew_to_completion() prev="${COMP_WORDS[COMP_CWORD-1]}" # We only complete unabbreviated commands... - actions="cleanup configure create edit generate homepage info install list link options prune remove search unlink update uses" + actions="cleanup configure create deps edit generate homepage info install list link options prune remove search unlink update uses" # Subcommand list if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then @@ -25,7 +25,7 @@ _brew_to_completion() case ${prev} in # Commands that take a formula... - edit|install|home|homepage|uses) + deps|edit|install|home|homepage|uses) formulae=`ls ${brew_base}/Library/Formula/ | sed "s/\.rb//g"` COMPREPLY=( $(compgen -W "${formulae}" -- ${cur}) ) return 0