diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 4c8cad6..6b49575 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1872,29 +1872,21 @@ function! s:GitCommand(line1, line2, range, count, bang, mods, reg, arg, args) a if has('gui_running') && !has('win32') let git .= ' --no-pager' endif + if has('nvim') && executable('env') + let git = 'env GIT_TERMINAL_PROMPT=0 ' . git + endif let args = matchstr(a:arg,'\v\C.{-}%($|\\@