From: Alexander Barton Date: Tue, 22 Jun 2010 16:01:34 +0000 (+0200) Subject: Addes support for brew command "cat" X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=9078448339a7299750c1858d87c56961f6e233da;p=brew-completion.git Addes support for brew command "cat" --- 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