From 53d1801b4913b6c459ec706bcb453128cf691e5f Mon Sep 17 00:00:00 2001 From: erw7 Date: Thu, 25 Jul 2019 06:05:31 +0200 Subject: [PATCH] tests: win: fix "cat" with PowerShell Ref: https://github.com/neovim/neovim/pull/10580#issuecomment-514884092 --- test/functional/helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 2571db99e4..ce7d348747 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -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