aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/functions.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/sh/functions.sh b/sh/functions.sh
index 48505c5e..99c937e1 100644
--- a/sh/functions.sh
+++ b/sh/functions.sh
@@ -144,14 +144,7 @@ for arg in "$@" ; do
done
if [ "${RC_NOCOLOR}" != "yes" -a -z "${GOOD}" ] ; then
- if color_terminal ; then
- GOOD=${EINFO_GOOD:-$'\e[32;01m'}
- WARN=${EINFO_WARN:-$'\e[33;01m'}
- BAD=${EINFO_BAD:-$'\e[31;01m'}
- HILITE=${EINFO_HILITE:-$'\e[36;01m'}
- BRACKET=${EINFO_BRACKET:-$'\e[34;01m'}
- NORMAL=$'\e[0m'
- fi
+ eval $(eval_ecolors)
fi
# vim: set ts=4 :