Skip to content

Instantly share code, notes, and snippets.

@christian-korneck
Last active May 31, 2026 02:53
Show Gist options
  • Select an option

  • Save christian-korneck/9db7eaad34792f4b6b2c9015771dfe43 to your computer and use it in GitHub Desktop.

Select an option

Save christian-korneck/9db7eaad34792f4b6b2c9015771dfe43 to your computer and use it in GitHub Desktop.
ghostty_config

remove some major annoyances:

  • TERM setting that is more compatible with most real world apps
  • != should be displayed as two characters, not one
  • don't ask when closing a tab (= don't block shutdowns/reboots)
#   ~/.config/ghostty/config

# https://github.com/ghostty-org/ghostty/discussions/3161
command = TERM=xterm-256color /usr/bin/bash

# disable programming ligatures
font-feature = -calt

confirm-close-surface = false

and to special characters (Ä,ü, etc) work with US English International keyboard layout in ghostty on Linux:

mkdir -p ~/.config/environment.d
echo 'GTK_IM_MODULE=simple' > ~/.config/environment.d/50-gtk-im.conf

(needs interactive logoff/login)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment