Merge pull request #87 from indirect/my-config
work with EDITOR like 'mate -w'
This commit is contained in:
commit
c766b578c1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue