Update wezterm.lua

This commit is contained in:
itsscb 2025-05-08 17:40:38 +00:00
parent d549bace48
commit ddff8cd7c7

View File

@ -1,17 +1,11 @@
local wezterm = require("wezterm")
local default_prog
if wezterm.target_triple == "x86_64-pc-windows-msvc" then
default_prog = { "C:\\Program Files\\PowerShell\\7\\pwsh.exe" }
else
default_prog = { "alacritty" }
end
return {
local config = {
default_prog = default_prog,
font = wezterm.font_with_fallback({
"Fira Code",
"Roboto",
}),
font_size = 14,
@ -77,3 +71,9 @@ return {
{ key = "Enter", mods = "SHIFT", action = wezterm.action.ActivateCopyMode },
},
}
if wezterm.target_triple == "x86_64-pc-windows-msvc" then
config.default_prog = { "C:\\Program Files\\PowerShell\\7\\pwsh.exe" }
end
return config