From 14da66fb77d6c22d2a59796b4db74f647a88fa19 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 31 Jul 2009 22:10:50 -0700 Subject: brew home foo open's foo's homepage in default web-browser --- Library/Contributions/brew_bash_completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index a5fa9aad8..07a7849ad 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -1,6 +1,6 @@ # This script contains bash completions for brew. # To use, edit your .bashrc and add the line: -# source /Library/Contributions/brew_bash_completion.sh +# source `brew --prefix`/Library/Contributions/brew_bash_completion.sh # # Assuming you have brew installed in /usr/local, then you'll want: # source /usr/local/Library/Contributions/brew_bash_completion.sh @@ -28,7 +28,7 @@ _brew_to_completion() case ${prev} in # Commands that take a formula... - edit|install) + edit|install|home) formulae=`ls ${brew_base}/Library/Formula/ | sed "s/\.rb//g"` COMPREPLY=( $(compgen -W "${formulae}" -- ${cur}) ) return 0 -- cgit v1.2.3