modify the colorful bash for osx.
This commit is contained in:
parent
b0953c1d3a
commit
20fb5f3e8e
|
|
@ -4,11 +4,11 @@
|
||||||
#######################################
|
#######################################
|
||||||
# color echo.
|
# color echo.
|
||||||
#######################################
|
#######################################
|
||||||
RED="\\e[31m"
|
RED="\\033[31m"
|
||||||
GREEN="\\e[32m"
|
GREEN="\\033[32m"
|
||||||
YELLOW="\\e[33m"
|
YELLOW="\\033[33m"
|
||||||
BLACK="\\e[0m"
|
BLACK="\\033[0m"
|
||||||
POS="\\e[103G"
|
POS="\\033[103G"
|
||||||
|
|
||||||
# if need to log to file, change the log path.
|
# if need to log to file, change the log path.
|
||||||
if [[ ! $log ]]; then
|
if [[ ! $log ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user