From 7c62f29d62cd7cc053f749d25d69a32d3ba7106a Mon Sep 17 00:00:00 2001 From: itouen <45067835+itouen@users.noreply.github.com> Date: Wed, 27 Feb 2019 21:02:15 +0900 Subject: [PATCH] add &shellquote to job cmd --- autoload/sy/repo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index 6921ce5..aa64985 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -299,7 +299,7 @@ function! s:initialize_job(vcs) abort if has('nvim') let cmd = &shell =~ 'cmd' ? vcs_cmd : ['sh', '-c', vcs_cmd] else - let cmd = join([&shell, &shellcmdflag, vcs_cmd]) + let cmd = join([&shell, &shellcmdflag, &shellquote, vcs_cmd, &shellquote]) endif else let cmd = ['sh', '-c', vcs_cmd]