Don't escape "!" when calling :terminal
This commit is contained in:
parent
06b3da7204
commit
969a3d857f
@ -1381,7 +1381,7 @@ function! s:Git(bang, mods, args) abort
|
|||||||
-tabnew
|
-tabnew
|
||||||
endif
|
endif
|
||||||
execute 'lcd' fnameescape(tree)
|
execute 'lcd' fnameescape(tree)
|
||||||
let exec = escape(git . ' ' . s:ShellExpand(args), '!#%')
|
let exec = escape(git . ' ' . s:ShellExpand(args), '#%')
|
||||||
return 'exe ' . string('terminal ' . exec) . after
|
return 'exe ' . string('terminal ' . exec) . after
|
||||||
else
|
else
|
||||||
let cmd = "exe '!'.escape(" . string(git) . " . ' ' . s:ShellExpand(" . string(args) . "),'!#%')"
|
let cmd = "exe '!'.escape(" . string(git) . " . ' ' . s:ShellExpand(" . string(args) . "),'!#%')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user