Merge pull request #5982 from reitermarkus/editor-args
Fix support for `HOMEBREW_EDITOR` with args.
This commit is contained in:
commit
55b4522099
@ -321,7 +321,7 @@ end
|
||||
|
||||
def exec_editor(*args)
|
||||
puts "Editing #{args.join "\n"}"
|
||||
with_homebrew_path { safe_system(which_editor, *args) }
|
||||
with_homebrew_path { safe_system(*which_editor.shellsplit, *args) }
|
||||
end
|
||||
|
||||
def exec_browser(*args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user