Colorize the slackpkg search results.

This commit is contained in:
Matteo Rossini 2016-02-27 14:00:56 +01:00
parent 6f4dac8728
commit bb31ee5822

View file

@ -1034,7 +1034,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
else
printf " %-20s %-24s %-40s \n" "$STATUS" "$REPO" "${RAWNAME}"
fi
done|sort
done|sort|( [[ "$CMD" == "search" ]]&&grep -i --color -e ^ -e "$PATTERN"||cat )
} # END function searchlistEX()
# Show detailed info for slackpkg info