瀏覽代碼

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

Fix 'Failed to spawn process pwsh.exe -NoLogo' on Windows
Aeceon 2 年之前
父節點
當前提交
1dce021d53
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 [[