modify the colorful bash for osx.

pull/133/head
winlin 10 years ago
parent b0953c1d3a
commit 20fb5f3e8e

@ -4,11 +4,11 @@
#######################################
# color echo.
#######################################
RED="\\e[31m"
GREEN="\\e[32m"
YELLOW="\\e[33m"
BLACK="\\e[0m"
POS="\\e[103G"
RED="\\033[31m"
GREEN="\\033[32m"
YELLOW="\\033[33m"
BLACK="\\033[0m"
POS="\\033[103G"
# if need to log to file, change the log path.
if [[ ! $log ]]; then

Loading…
Cancel
Save