1
0
Fork 0

Zsh: Add workaround for 256 colour terminals

This commit is contained in:
tastytea 2022-03-20 16:40:20 +01:00
parent 586fd06b4d
commit 139f3b9280
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ case ${TERM} in
;;
esac
# Translate TrueColor to 256 colors if the terminal doesn't support it
[[ $COLORTERM = *(24bit|truecolor)* ]] || zmodload zsh/nearcolor
# Host specific settings.
case $(hostname) in
schnibble | gaffer | localhost)