tests: win: fix "cat" with PowerShell

Ref: https://github.com/neovim/neovim/pull/10580#issuecomment-514884092
This commit is contained in:
erw7 2019-07-25 06:05:31 +02:00 committed by Daniel Hahler
parent 2906c702f9
commit 53d1801b49

View File

@ -496,7 +496,7 @@ end
local function set_shell_powershell()
source([[
set shell=powershell shellquote=( shellpipe=\| shellredir=> shellxquote=
let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command Remove-Item -Force alias:sleep;'
let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command Remove-Item -Force alias:sleep; Remove-Item -Force alias:cat;'
]])
end