Merge remote-tracking branch 'origin/github/pr/132'
authorMichael Prokop <mika@grml.org>
Mon, 29 Nov 2021 10:33:17 +0000 (11:33 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 29 Nov 2021 10:33:17 +0000 (11:33 +0100)
etc/zsh/zshrc

index 773c57a..8ac9d7d 100644 (file)
@@ -3312,7 +3312,14 @@ zrcautoload lookupinit && lookupinit
 # variables
 
 # set terminal property (used e.g. by msgid-chooser)
-export COLORTERM="yes"
+case "${COLORTERM}" in
+  truecolor)
+    # do not overwrite
+    ;;
+  *)
+    export COLORTERM="yes"
+    ;;
+esac
 
 # aliases