Fix #155 - cd /d
on Windows
This commit is contained in:
parent
1c61517164
commit
7d40f592af
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -1187,7 +1187,7 @@ function! s:format_message(bullet, name, message)
|
|||
endfunction
|
||||
|
||||
function! s:with_cd(cmd, dir)
|
||||
return 'cd '.s:esc(a:dir).' && '.a:cmd
|
||||
return (s:is_win ? 'cd /d ' : 'cd ').s:esc(a:dir).' && '.a:cmd
|
||||
endfunction
|
||||
|
||||
function! s:system(cmd, ...)
|
||||
|
|
Loading…
Reference in a new issue