Update wezterm.lua
This commit is contained in:
parent
d549bace48
commit
ddff8cd7c7
16
wezterm.lua
16
wezterm.lua
@ -1,17 +1,11 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
|
|
||||||
local default_prog
|
local config = {
|
||||||
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 {
|
|
||||||
default_prog = default_prog,
|
default_prog = default_prog,
|
||||||
|
|
||||||
font = wezterm.font_with_fallback({
|
font = wezterm.font_with_fallback({
|
||||||
"Fira Code",
|
"Fira Code",
|
||||||
|
"Roboto",
|
||||||
}),
|
}),
|
||||||
font_size = 14,
|
font_size = 14,
|
||||||
|
|
||||||
@ -77,3 +71,9 @@ return {
|
|||||||
{ key = "Enter", mods = "SHIFT", action = wezterm.action.ActivateCopyMode },
|
{ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user