mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-23 21:30:19 +00:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user