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

View File

@@ -4,6 +4,7 @@ local wezterm = require("wezterm")
local config = wezterm.config_builder() local config = wezterm.config_builder()
-- workspace dir default -- workspace dir default
config.default_cwd = "C:/Users/support/Desktop/workspace" config.default_cwd = "C:/Users/support/Desktop/workspace"
config.default_prog = { "C:/Program Files/PowerShell/7/pwsh.exe" , '-nologo'}
--styles --styles
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" } config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" }