From ea818f1fabce967bc754dfbeb7782d6322064538 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 9 Oct 2019 11:26:21 -0400 Subject: [PATCH] Include PowerShell in check for win32 shell Closes https://github.com/tpope/vim-fugitive/issues/435 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b0189a4..907476f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -42,7 +42,7 @@ function! s:Uniq(list) abort endfunction function! s:winshell() abort - return has('win32') && &shellcmdflag !~# '^-' + return has('win32') && &shellcmdflag =~# '^/\|^-Command$' endfunction function! s:shellesc(arg) abort