diff options
| author | Adam Vandenberg | 2009-07-31 22:10:50 -0700 |
|---|---|---|
| committer | Max Howell | 2009-08-02 01:30:29 +0100 |
| commit | 14da66fb77d6c22d2a59796b4db74f647a88fa19 (patch) | |
| tree | f0d710b6a19db817114a77651b6714fcc85947af /bin | |
| parent | db15b323bb0313520e2a9b0705963c952bfa2b24 (diff) | |
| download | brew-14da66fb77d6c22d2a59796b4db74f647a88fa19.tar.bz2 | |
brew home foo open's foo's homepage in default web-browser
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -199,6 +199,10 @@ begin when '-v', '--version' then puts HOMEBREW_VERSION when 'macports' then exec "open 'http://www.macports.org/ports.php?by=name&substr=#{ARGV.shift}'" + when 'home', 'homepage' + homepages=extract_names.collect {|keg| Formula.create(name).homepage} + exec "open #{homepages.join' '}" + when 'ls', 'list' dirs=extract_kegs.collect {|keg| keg.path} exec "find #{dirs.join' '} -not -type d -print" |
