Skip to content

Commit b132085

Browse files
committed
reorder color, avoid first line is red
1 parent 6c364f0 commit b132085

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

a2l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ colorEcho() {
2222
[ -t 1 ] && echo "$ec[1;${color}m$@$eend" || echo "$@"
2323
}
2424

25-
readonly -a ECHO_COLORS=(31 32 37 34 33 35 36)
25+
readonly -a ECHO_COLORS=(33 35 36 31 32 37 34)
2626
COUNT=0
2727

2828
for a; do

coat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set -o pipefail
2121
readonly ec=$'\033' # escape char
2222
readonly eend=$'\033[0m' # escape end
2323

24-
readonly -a ECHO_COLORS=(31 32 37 34 33 35 36)
24+
readonly -a ECHO_COLORS=(33 35 36 31 32 37 34)
2525
COUNT=0
2626
colorEcho() {
2727
local color="${ECHO_COLORS[COUNT++ % ${#ECHO_COLORS[@]}]}"

0 commit comments

Comments
 (0)