From: Travis Swicegood Date: Thu, 26 Jan 2012 14:18:43 +0000 (-0600) Subject: Switch to echo -e and use echo safe colors (fixes: #96) X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=ea0dc44c537b8c9bc1cf7d184a1566bfadae45a1;p=common%2Fbash_it.git Switch to echo -e and use echo safe colors (fixes: #96) --- diff --git a/plugins/available/base.plugin.bash b/plugins/available/base.plugin.bash index 7a6dc80..0a4e0c8 100644 --- a/plugins/available/base.plugin.bash +++ b/plugins/available/base.plugin.bash @@ -12,7 +12,7 @@ function down4me() { function myip { res=$(curl -s checkip.dyndns.org | grep -Eo '[0-9\.]+') - echo "Your public IP is: ${bold_green} $res ${normal}" + echo -e "Your public IP is: ${echo_bold_green} $res ${echo_normal}" } pass() {