With brew mk, open with mate if available
This commit is contained in:
parent
5c0a7e56be
commit
530ab40bd5
7
bin/brew
7
bin/brew
@ -272,7 +272,12 @@ begin
|
|||||||
f.puts "end"
|
f.puts "end"
|
||||||
f.close
|
f.close
|
||||||
|
|
||||||
puts path
|
if Kernel.system "which mate > /dev/null" and $? == 0
|
||||||
|
exec "mate #{path}"
|
||||||
|
else
|
||||||
|
puts path
|
||||||
|
end
|
||||||
|
|
||||||
when 'info'
|
when 'info'
|
||||||
o=__obj shift_formulae_from_ARGV[0]
|
o=__obj shift_formulae_from_ARGV[0]
|
||||||
puts "#{o.name} #{o.version}"
|
puts "#{o.name} #{o.version}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user