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

Fix 'Failed to spawn process pwsh.exe -NoLogo' on Windows
This commit is contained in:
Aeceon 2023-06-11 05:40:03 +01:00 committed by GitHub
parent 932de30705
commit 1dce021d53
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 [[