improve syntax of previous commit
This commit is contained in:
parent
de06162e8f
commit
8b3a3cbc26
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue