Allow user vars for colours in our shell scripts too
This commit is contained in:
parent
54d297725e
commit
0f92b5e7df
@ -145,11 +145,11 @@ done
|
|||||||
|
|
||||||
if [ "${RC_NOCOLOR}" != "yes" -a -z "${GOOD}" ] ; then
|
if [ "${RC_NOCOLOR}" != "yes" -a -z "${GOOD}" ] ; then
|
||||||
if color_terminal ; then
|
if color_terminal ; then
|
||||||
GOOD=$'\e[32;01m'
|
GOOD=${EINFO_GOOD:-$'\e[32;01m'}
|
||||||
WARN=$'\e[33;01m'
|
WARN=${EINFO_WARN:-$'\e[33;01m'}
|
||||||
BAD=$'\e[31;01m'
|
BAD=${EINFO_BAD:-$'\e[31;01m'}
|
||||||
HILITE=$'\e[36;01m'
|
HILITE=${EINFO_HILITE:-$'\e[36;01m'}
|
||||||
BRACKET=$'\e[34;01m'
|
BRACKET=${EINFO_BRACKET:-$'\e[34;01m'}
|
||||||
NORMAL=$'\e[0m'
|
NORMAL=$'\e[0m'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user