From 41878d6f7977d4758ea15b6599ee7d025be40ecc Mon Sep 17 00:00:00 2001 From: Aaron Ang Date: Wed, 15 Apr 2026 22:42:51 -0400 Subject: [PATCH] snap: export TERMINFO_DIRS so child shells find xterm-ghostty Without this, shells spawned by ghostty cannot find the xterm-ghostty terminfo entry because ncurses only searches standard system paths. The snap's terminfo lives inside the snap sandbox and is inaccessible unless TERMINFO_DIRS is set explicitly. --- snap/local/launcher | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/local/launcher b/snap/local/launcher index 306ee4d8c..6aaccfeaa 100755 --- a/snap/local/launcher +++ b/snap/local/launcher @@ -50,6 +50,7 @@ export XLOCALEDIR="${SNAP}/usr/share/X11/locale" export GTK_PATH="$SNAP/usr/lib/$ARCH/gtk-4.0" export GIO_MODULE_DIR="$SNAP/usr/lib/$ARCH/gio/modules" unset GIO_EXTRA_MODULES +export TERMINFO_DIRS="${SNAP}/share/terminfo${TERMINFO_DIRS:+:$TERMINFO_DIRS}" # Gdk-pixbuf loaders mkdir -p "$SNAP_USER_COMMON/.cache"