aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/ghostty
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:42 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:42 +0100
commit0de094ea19e18327c3151ad633efc05b8749b7ab (patch)
tree5fac119284a81784f797371e621864ff02797fb6 /dot_config/ghostty
parent243ff210d3677764fabe90897bf3a08742170a2b (diff)
downloaddotfiles-0de094ea19e18327c3151ad633efc05b8749b7ab.tar.gz
dotfiles-0de094ea19e18327c3151ad633efc05b8749b7ab.tar.bz2
dotfiles-0de094ea19e18327c3151ad633efc05b8749b7ab.zip
feat(ghostty): enable ssh-env and ssh-terminfo shell integration
Remote hosts without xterm-ghostty terminfo print 'xterm-ghostty: unknown terminal type' on connect. Ghostty's shell integration ships two features for this: - ssh-terminfo: pipes `infocmp -x xterm-ghostty` to the remote and installs it under ~/.terminfo on first connect, permanently fixing TERM recognition on hosts where you have a writable home. - ssh-env: falls back to TERM=xterm-256color (plus COLORTERM=truecolor and TERM_PROGRAM=ghostty) for the ssh subprocess, so hosts where terminfo install fails or home is read-only still get sane defaults. Both required shell-integration to be on, which it already is (zsh).
Diffstat (limited to 'dot_config/ghostty')
-rw-r--r--dot_config/ghostty/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/ghostty/config b/dot_config/ghostty/config
index ea93d9c..8a1faf6 100644
--- a/dot_config/ghostty/config
+++ b/dot_config/ghostty/config
@@ -4,7 +4,7 @@ theme = Gruvbox Dark
# Cursor — block blink; disable shell integration cursor override
cursor-style = block
cursor-style-blink = true
-shell-integration-features = no-cursor
+shell-integration-features = no-cursor,ssh-env,ssh-terminfo
# OSC 52 clipboard for zellij (default is "ask" which prompts each time)
clipboard-read = allow