Merge pull request #87 from indirect/my-config

work with EDITOR like 'mate -w'
This commit is contained in:
Will Farrington 2013-03-04 15:07:06 -08:00
commit c766b578c1

View file

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