From: Alexander Barton Date: Fri, 21 Jan 2022 17:41:57 +0000 (+0100) Subject: axttyinfo: Show COLORTERM when set X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40280fbf4cbc435fc595d68c6a2cf983e711a8f1;p=ax-zsh.git axttyinfo: Show COLORTERM when set --- 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