work with EDITOR like 'mate -w'
This commit is contained in:
parent
3a6e8ee440
commit
8229fe238a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue