From bc64e9a67c4a8a1e3667ed7754fb76ce610f34b3 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 1 Nov 2016 12:16:49 -0400 Subject: [PATCH] fix color escaping on MacOS --- src/gam-install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gam-install.sh b/src/gam-install.sh index 09f8ba5e..cbf2cb89 100755 --- a/src/gam-install.sh +++ b/src/gam-install.sh @@ -41,20 +41,20 @@ update_profile() { echo_red() { -echo -e "\E[1;31m$1" -echo -e '\e[0m' +echo -e "\x1B[1;31m$1" +echo -e '\x1B[0m' } echo_green() { -echo -e "\E[1;32m$1" -echo -e '\e[0m' +echo -e "\x1B[1;32m$1" +echo -e '\x1B[0m' } echo_yellow() { -echo -e "\E[1;33m$1" -echo -e '\e[0m' +echo -e "\x1B[1;33m$1" +echo -e '\x1B[0m' } case $gamos in