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
|
" The fish shell is not very compatible to other shells and unexpectedly
|
||||||
" breaks things that use 'shell'.
|
" breaks things that use 'shell'.
|
||||||
if &shell =~# 'fish$'
|
if &shell =~# 'fish$'
|
||||||
set shell=/bin/bash
|
set shell=/bin/bash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has('win32')
|
if has('win32')
|
||||||
set shell=pwsh.exe
|
set shell=pwsh.exe
|
||||||
set shellcmdflag=-command
|
set shellcmdflag=-nop\ -c
|
||||||
set shellquote=\"
|
|
||||||
set shellxquote=
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Put all temporary files under the same directory.
|
" Put all temporary files under the same directory.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user