From 9078448339a7299750c1858d87c56961f6e233da Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 22 Jun 2010 18:01:34 +0200 Subject: [PATCH 1/1] Addes support for brew command "cat" --- brew-completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brew-completion.sh b/brew-completion.sh index 303e219..873dd6c 100644 --- a/brew-completion.sh +++ b/brew-completion.sh @@ -48,7 +48,7 @@ _brew() done case "$cmd" in - "cleanup"|"edit"|"home"|"log"|"prune" \ + "cat"|"cleanup"|"edit"|"home"|"log"|"prune" \ |"--cache"|"--cellar"|"--prefix") _brew_formula "$cur" return 0 @@ -110,7 +110,7 @@ _brew() --help --prefix --version -v -H' \ -- "$cur") ) elif [ "$cmd" = "" ]; then - COMPREPLY=( $(compgen -W 'cleanup create edit home info \ + COMPREPLY=( $(compgen -W 'cat cleanup create edit home info \ install link list log outdated prune remove search \ uninstall unlink update $EXTCMD' -- "$cur") ) fi -- 2.39.2