From 8efe18e585870ffc453646d6100a617a20f7910f Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Tue, 21 May 2024 17:41:03 +0300 Subject: [PATCH] hack for kitty a bit earlier --- run_onchange_after_install_main_deps.sh.tmpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index 9dcee85..7ff602d 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -13,6 +13,11 @@ Yello='\033[0;33m' # Blue Gray='\033[38;5;7m' # Light Gray NC='\033[0m' # No Color +#short-term hack for kitty in early OSes +if [ "$TERM" == "xterm-kitty" ];then +export TERM="xterm-256color" +fi + #Setup TERM_WIDTH_BASE=$(tput cols) LINES=$(tput lines) @@ -20,10 +25,6 @@ USER=$(whoami) STEP=1 cd -#short-term hack for kitty in early OSes -if [ "$TERM" == "xterm-kitty" ];then -export TERM="xterm-256color" -fi echo -e "