diff --git a/plugins/available/base.plugin.bash b/plugins/available/base.plugin.bash index e028fe69..49b11c3f 100644 --- a/plugins/available/base.plugin.bash +++ b/plugins/available/base.plugin.bash @@ -5,7 +5,11 @@ ips () { about 'display all ip addresses for this host' group 'base' - ifconfig | grep "inet " | awk '{ print $2 }' + resp=$(ifconfig | grep "inet " | awk '{ print $2 }') + for r in $resp + do + echo -e "`echo $r | cut -d: -f1`: ${echo_bold_green}`echo $r | cut -d: -f2` ${echo_normal}" + done } down4me ()