Adds ecs and fixes wez for remote hosts

This commit is contained in:
2026-08-26 16:37:17 -04:00
parent 30c9e4af9d
commit 11139d0ade
3 changed files with 166 additions and 7 deletions
+9 -2
View File
@@ -4,11 +4,18 @@ $env.SSH_AUTH_SOCK = ""
$env.SSH_ASKPASS = "/usr/bin/ksshaskpass"
$env.SSH_ASKPASS_REQUIRE = "force"
def main [--domain: string, --theme: string = "Ef-Dream", --font: string = "LythMono Nerd Font", --font_size: int = 12] {
def main [ --domain: string
, --theme: string = "Ef-Dream"
, --font: string = "LythMono Nerd Font"
, --font_size: int = 12
, --remote = false
] {
let color_scheme = "color_scheme='" + $theme + "'"
let wez_font = 'font=wezterm.font("' + $font + '")'
let wez_font_size = 'font_size=' + ($font_size | into string)
$env.WEZTERM_MUX_SOCKET_NAME = $domain
if (not $remote) {
$env.WEZTERM_MUX_SOCKET_NAME = $domain
}
(
wezterm