fix wezterm config file name
This commit is contained in:
@@ -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
|
||||
@@ -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',
|
||||
}
|
||||
Reference in New Issue
Block a user