diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index af524c9..17e6b16 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -6,7 +6,8 @@ # Colours # -if (( ${terminfo[colors]} >= 8 )); then +COLORS=${terminfo[colors]} +if (( ${COLORS:=0} >= 8 )); then # ls Colors if (( ${+commands[dircolors]} )); then # GNU