From 1dce021d5398dafc5fb3dbd3187fe42d9c1881e4 Mon Sep 17 00:00:00 2001 From: Aeceon <136107836+Aeceon@users.noreply.github.com> Date: Sun, 11 Jun 2023 05:40:03 +0100 Subject: [PATCH] fix(win): remove '-NoLogo' from vim.opt.shell (#4232) Fix 'Failed to spawn process pwsh.exe -NoLogo' on Windows --- utils/installer/config_win.example.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/installer/config_win.example.lua b/utils/installer/config_win.example.lua index f6d563b7..1fccb5ab 100644 --- a/utils/installer/config_win.example.lua +++ b/utils/installer/config_win.example.lua @@ -5,7 +5,7 @@ -- Discord: https://discord.com/invite/Xb9B4Ny -- Enable powershell as your default shell -vim.opt.shell = "pwsh.exe -NoLogo" +vim.opt.shell = "pwsh.exe" vim.opt.shellcmdflag = "-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;" vim.cmd [[