updated to use powershell 7 as the default term
This commit is contained in:
4
init.lua
4
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 = ""
|
||||
|
||||
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user