1
0
Fork 0
mirror of synced 2024-06-15 13:31:09 -04:00

improve syntax of previous commit

This commit is contained in:
Nils Reuße 2017-01-23 18:23:44 +01:00
parent de06162e8f
commit 8b3a3cbc26

View file

@ -6,8 +6,7 @@
# Colours # Colours
# #
COLORS=${terminfo[colors]} if [[ ! -z ${terminfo[colors]} ]] && (( ${terminfo[colors]} >= 8 )); then
if (( ${COLORS:=0} >= 8 )); then
# ls Colors # ls Colors
if (( ${+commands[dircolors]} )); then if (( ${+commands[dircolors]} )); then
# GNU # GNU