diff options
| author | Adam Vandenberg | 2009-07-31 22:10:50 -0700 |
|---|---|---|
| committer | Max Howell | 2009-08-02 01:30:29 +0100 |
| commit | df793f7cd4a03a9c28260dae2848217464c8f7bd (patch) | |
| tree | eaed36fcaf976d32bac6feedb94ba344b378e53a /Library | |
| parent | 55c137198dd14b95d038708f8f977b11a0f64139 (diff) | |
| download | homebrew-df793f7cd4a03a9c28260dae2848217464c8f7bd.tar.bz2 | |
brew home foo open's foo's homepage in default web-browser
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 <path-to-homebrew>/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 |
