From 969a3d857fc5d43c00bed52a4f8a7f6615abe812 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 4 Aug 2018 19:17:06 -0400 Subject: [PATCH] Don't escape "!" when calling :terminal --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 7c09fdb..bcee1c2 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1381,7 +1381,7 @@ function! s:Git(bang, mods, args) abort -tabnew endif execute 'lcd' fnameescape(tree) - let exec = escape(git . ' ' . s:ShellExpand(args), '!#%') + let exec = escape(git . ' ' . s:ShellExpand(args), '#%') return 'exe ' . string('terminal ' . exec) . after else let cmd = "exe '!'.escape(" . string(git) . " . ' ' . s:ShellExpand(" . string(args) . "),'!#%')"