commit 01f9ef21808af93419bfaaba4186b70a5e1ee59c
parent 0cc837f7035760367b964251d9d9311d90373be7
Author: Chris Bracken <chris@bracken.jp>
Date: Sat, 10 Jan 2026 12:33:50 +0900
ghostty: add shell-integration-features = ssh-env
When this setting is enabled, Ghostty detects when you run the ssh
command and modifies the environment variables sent to the remote host:
* TERM Fallback: It changes the TERM variable from xterm-ghostty to
xterm-256color.
* Propagates Metadata: It passes along other variables like COLORTERM,
TERM_PROGRAM, and TERM_PROGRAM_VERSION so the remote side still knows
it's dealing with a modern terminal capable of true color, even if it
thinks it is just xterm.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/ghostty/config b/.config/ghostty/config
@@ -58,7 +58,7 @@ font-feature = -dlig
cursor-style = block
cursor-style-blink = false
-shell-integration-features = no-cursor
+shell-integration-features = no-cursor, ssh-env
# Don't show a folder icon in the title bar.
macos-titlebar-proxy-icon = hidden