]> arthur.barton.de Git - ax-zsh.git/commitdiff
axttyinfo: Show COLORTERM when set
authorAlexander Barton <alex@barton.de>
Fri, 21 Jan 2022 17:41:57 +0000 (18:41 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 21 Jan 2022 17:41:57 +0000 (18:41 +0100)
bin/axttyinfo

index 613b782afbffa5b2b85f0e3de19f66a8da992611..63ac50c99d9bc7f33f6cc8ce2107a3a5fcc1dcc2 100755 (executable)
@@ -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