work with EDITOR like 'mate -w'

This commit is contained in:
Andre Arko 2013-03-01 15:23:49 -08:00
parent 3a6e8ee440
commit 8229fe238a

View file

@ -19,6 +19,6 @@ unless File.exist? path
end end
end end
exec(editor, path) if editor && system("test -t 1") exec([editor, path].join(' ')) if editor && system("test -t 1")
puts path puts path