Add Contributions to brew edit listing
This commit is contained in:
parent
14da66fb77
commit
d10192e077
4
bin/brew
4
bin/brew
@ -209,8 +209,8 @@ begin
|
|||||||
|
|
||||||
when 'edit'
|
when 'edit'
|
||||||
if ARGV.empty?
|
if ARGV.empty?
|
||||||
r=HOMEBREW_PREFIX
|
d=HOMEBREW_PREFIX
|
||||||
exec "mate #{r}/Library/Formula #{r}/Library/Homebrew #{r}/bin/brew #{r}/README"
|
exec "mate #{Dir["#{d}/Library/*"].join' '} #{d}/bin/brew #{d}/README"
|
||||||
else
|
else
|
||||||
require 'formula'
|
require 'formula'
|
||||||
paths=extract_named_args.collect {|name| Formula.path(name).to_s.gsub ' ', '\\ '}
|
paths=extract_named_args.collect {|name| Formula.path(name).to_s.gsub ' ', '\\ '}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user