updated to use powershell 7 as the default term

This commit is contained in:
Daveanand Mannie
2024-09-07 15:47:13 -04:00
parent 3ff404b1a0
commit 18c5e0f5cf
2 changed files with 3 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
-- powershell so my shit compiles with zig when i install
vim.o.shell = "powershell"
vim.o.shellcmdflag = "-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
vim.o.shell = "C:/Program Files/PowerShell/7/pwsh.exe"
vim.o.shellcmdflag = "-nologo -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
vim.o.shellredir = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
vim.o.shellpipe = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
vim.o.shellquote = ""