diff options
| author | 2026-05-13 13:43:42 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:42 +0100 | |
| commit | 0de094ea19e18327c3151ad633efc05b8749b7ab (patch) | |
| tree | 5fac119284a81784f797371e621864ff02797fb6 | |
| parent | 243ff210d3677764fabe90897bf3a08742170a2b (diff) | |
| download | dotfiles-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).
| -rw-r--r-- | dot_config/ghostty/config | 2 |
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 |
