Solved: unknown terminal xterm-ghostty
Add the following to your (platform specific 1) config file
shell-integration-features = ssh-env, ssh-terminfo
Now reload the configuration.
The configuration can be reloaded at runtime by pressing ctrl+shift+, (Linux) or cmd+shift+, (macOS).
-
on macOS :
$HOME/Library/Application\ Support/com.mitchellh.ghostty/config, and$XDG_CONFIG_HOME/ghostty/configfor Linux ifXDG_CONFIG_HOMEis not defined, it defaults to$HOME/.config/ghostty/config. ↩︎