Zsh: Add workaround for 256 colour terminals
This commit is contained in:
parent
586fd06b4d
commit
139f3b9280
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user