mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-21 22:51:37 +00:00
fix color escaping on MacOS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user