]> arthur.barton.de Git - ax-zsh.git/blobdiff - bin/axttyinfo
axttyinfo: Show COLORTERM when set
[ax-zsh.git] / 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