From 18c5e0f5cf75d79e4e50790d980cde978f3915ed Mon Sep 17 00:00:00 2001 From: Daveanand Mannie Date: Sat, 7 Sep 2024 15:47:13 -0400 Subject: [PATCH] updated to use powershell 7 as the default term --- init.lua | 4 ++-- wezterm.lua | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 6f52360..28ceef0 100644 --- a/init.lua +++ b/init.lua @@ -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 = "" diff --git a/wezterm.lua b/wezterm.lua index 7313a2f..c550c5a 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -4,6 +4,7 @@ local wezterm = require("wezterm") local config = wezterm.config_builder() -- workspace dir default config.default_cwd = "C:/Users/support/Desktop/workspace" +config.default_prog = { "C:/Program Files/PowerShell/7/pwsh.exe" , '-nologo'} --styles config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" }