From 40280fbf4cbc435fc595d68c6a2cf983e711a8f1 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 21 Jan 2022 18:41:57 +0100 Subject: [PATCH] axttyinfo: Show COLORTERM when set --- bin/axttyinfo | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/axttyinfo b/bin/axttyinfo index 613b782..63ac50c 100755 --- a/bin/axttyinfo +++ b/bin/axttyinfo @@ -26,6 +26,7 @@ print -Pn -- "$fg[green]$FX[underline]${TERM:-?}$FX[reset] " print -Pn -- "(${COLUMNS:-?}x${LINES:-?})" print -Pn -- "$FX[reset]" [[ -n "$LANG" ]] && print -Pn -- "; LANG=$LANG" +[[ -n "$COLORTERM" ]] && print -Pn -- "; COLORTERM=$COLORTERM" echo [[ -z "$VERBOSE" ]] && return 0 -- 2.39.2