Merge pull request #120 from bergman/master

VimuxRunCommandInDir: run in subshell
pull/115/merge
Ben Mills 9 years ago
commit bc11e401f1

@ -20,7 +20,7 @@ function! VimuxRunCommandInDir(command, useFile)
if a:useFile ==# 1
let l:file = shellescape(expand('%:t'), 1)
endif
call VimuxRunCommand("cd ".shellescape(expand('%:p:h'), 1)." && ".a:command." ".l:file." && cd - > /dev/null")
call VimuxRunCommand("(cd ".shellescape(expand('%:p:h'), 1)." && ".a:command." ".l:file.")")
endfunction
function! VimuxRunLastCommand()

Loading…
Cancel
Save