no need to shellescape here
This commit is contained in:
parent
61bfc5ab9f
commit
2f7a7c4088
@ -57,7 +57,7 @@ func! s:helptags(rtp) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:sync(bang, bundle) abort
|
func! s:sync(bang, bundle) abort
|
||||||
let git_dir = shellescape(expand(a:bundle.path().'/.git'))
|
let git_dir = expand(a:bundle.path().'/.git')
|
||||||
if isdirectory(git_dir)
|
if isdirectory(git_dir)
|
||||||
if !(a:bang) | return 0 | endif
|
if !(a:bang) | return 0 | endif
|
||||||
let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull'
|
let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull'
|
||||||
|
Loading…
Reference in New Issue
Block a user