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() {