From d659398fb4bd075c1fccd7ab4b6e70d734428bce Mon Sep 17 00:00:00 2001 From: David Jensenius Date: Thu, 19 Feb 2026 20:18:49 -0500 Subject: [PATCH] Add Ghostty terminfo installation if not present Install xterm-ghostty terminfo entry during setup if it's not already available on the system. Uses the community-maintained terminfo source and installs system-wide via tic. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index bb5a475..5219002 100755 --- a/install.sh +++ b/install.sh @@ -540,6 +540,16 @@ function setup_software() { rm -f ~/.dotfiles_locale_update.pid fi fi + + # Install Ghostty terminfo if not already present + start_time=$(start_operation "Installing Ghostty terminfo") + if ! infocmp xterm-ghostty > /dev/null 2>&1; then + echo "Installing Ghostty terminfo..." + curl -sL https://raw.githubusercontent.com/zcobol/xterm-ghostty/main/xterm-ghostty | sudo tic -x - + else + echo "✅ Ghostty terminfo already installed" + fi + log_with_timing "Installing Ghostty terminfo" "$start_time" } function start_rust_background_installation() {