Skip to content

Commit

Permalink
Fix compatibility with macosx colours.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Dec 23, 2016
1 parent 1fdaaf5 commit c3c8550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/bash/sdkman-utils.sh
Expand Up @@ -68,7 +68,7 @@ function __sdkman_echo {
if [[ "$sdkman_colour_enable" == 'false' ]]; then
echo -e "$2"
else
echo -e "\e[1;$1$2\e[0m"
echo -e "\033[1;$1$2\033[0m"
fi
}

Expand Down Expand Up @@ -96,6 +96,6 @@ function __sdkman_echo_confirm {
if [[ "$sdkman_colour_enable" == 'false' ]]; then
echo -n "$1"
else
echo -n "\e[1;33m$1\e[0m"
echo -n "\033[1;33m$1\033[0m"
fi
}

0 comments on commit c3c8550

Please sign in to comment.