From 9cf4ba928a4c0372a62d14cff20debf668b35d4b Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 27 Apr 2026 17:39:14 -0400 Subject: [PATCH] ghostty: fix ssh --- home/progs/ghostty.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/progs/ghostty.nix b/home/progs/ghostty.nix index 6eba371..e80984a 100644 --- a/home/progs/ghostty.nix +++ b/home/progs/ghostty.nix @@ -62,6 +62,11 @@ window-inherit-working-directory = false; working-directory = "home"; + # ssh into hosts that lack ghostty's terminfo: ssh-terminfo auto-installs + # it remotely on first connect (and caches), ssh-env is the fallback that + # downgrades TERM to xterm-256color when the install can't run. + shell-integration-features = "ssh-env,ssh-terminfo"; + # keep one daemon alive so subsequent launches (e.g. niri Mod+T) are # instant instead of paying GTK + wgpu init each time. relies on the # dbus-activated systemd user service that the HM module wires up.