A lot of people bug me asking what kind of scripts and such I use to make development easier. Here they are.
I created colormvn because I was displeased with other Maven-colorizers out there. I wanted something that uses tput and was extensible. You can customize the output of colormvn by creating a ~/.colormvn file. It will be sourced by the colormvn script, so you can perform arbitrary processing. Ultimately, the script will look for three variables:
- Warning
- Error
- Info
Here's my personal ~/.colormvn file:
Warning=$(tput bold)$(tput setaf 11)
Info=$(tput setaf 33)
Error=$(tput bold)$(tput setaf 9)
If you don't have such a file, it will still colorize the output. You'll just get my crappy defaults, which are 8-color compatible.