fix wezterm config file name

This commit is contained in:
2026-05-27 22:18:29 -05:00
parent 95c1204db1
commit 6bea16db6b
3 changed files with 28 additions and 11 deletions
+26
View File
@@ -0,0 +1,26 @@
local wezterm = require("wezterm")
local config = wezterm.config_builder()
if wezterm.target_triple == "x86_64-pc-windows-msvc" then
-- Since WezTerm is now elevated, pwsh will automatically launch as admin inside it
config.default_prog = { "pwsh.exe", "-NoLogo" }
end
config.keys = {
-- Example - CTRL+SHIFT+U to open your WSL Ubuntu distribution
{
key = "U",
mods = "CTRL|SHIFT",
action = wezterm.action.SpawnCommandInNewTab({
domain = { DomainName = "WSL:Ubuntu-24.04" },
}),
},
{
key = "R",
mods = "CTRL|SHIFT",
action = wezterm.action.SpawnCommandInNewTab({
domain = { DomainName = "WSL:fedoraremix" },
}),
},
}
return config
-9
View File
@@ -1,9 +0,0 @@
local wezterm = require 'wezterm'
return {
color_scheme = 'Builtin Solarized Dark',
font = wezterm.font('JetBrainsMono Nerd Font'),
font_size = 11.0,
default_prog = { 'pwsh.exe', '-NoLogo' },
window_decorations = 'RESIZE',
}