Browse Source

fix(win): remove '-NoLogo' from vim.opt.shell (#4232)

Fix 'Failed to spawn process pwsh.exe -NoLogo' on Windows
Aeceon 2 years ago
parent
commit
1dce021d53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/installer/config_win.example.lua

+ 1 - 1
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 [[