Switch to echo -e and use echo safe colors (fixes: #96)
authorTravis Swicegood <development@domain51.com>
Thu, 26 Jan 2012 14:18:43 +0000 (08:18 -0600)
committerTravis Swicegood <development@domain51.com>
Thu, 26 Jan 2012 14:18:59 +0000 (08:18 -0600)
plugins/available/base.plugin.bash

index 7a6dc80..0a4e0c8 100644 (file)
@@ -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() {