mirror of https://github.com/akelge/zsh
Fixed bug with terminfo error on xterm
This commit is contained in:
parent
11469aa128
commit
03c28529af
|
@ -1,6 +1,8 @@
|
|||
#######################################################################################
|
||||
# Colorize terminal
|
||||
autoload colors zsh/terminfo
|
||||
zmodload zsh/terminfo
|
||||
|
||||
if [[ "$terminfo[colors]" -ge 8 ]]; then
|
||||
colors
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue