make '!' cmd usable for powershell with -nop
This commit is contained in:
parent
b37ceb4428
commit
bf5a7f83d6
@ -50,14 +50,12 @@ endif
|
||||
" The fish shell is not very compatible to other shells and unexpectedly
|
||||
" breaks things that use 'shell'.
|
||||
if &shell =~# 'fish$'
|
||||
set shell=/bin/bash
|
||||
set shell=/bin/bash
|
||||
endif
|
||||
|
||||
if has('win32')
|
||||
set shell=pwsh.exe
|
||||
set shellcmdflag=-command
|
||||
set shellquote=\"
|
||||
set shellxquote=
|
||||
set shellcmdflag=-nop\ -c
|
||||
endif
|
||||
|
||||
" Put all temporary files under the same directory.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user