I've recently installed grc (generic colorizer) to my system via MacPorts, giving me the ability to get colorized output for plenty of commands which by default don't support it (see screenshot below).
I would like to make using grc automatic, how ever not for specific commands, but ever command. I use zsh as my shell.
Essentially when ever I execute
command -parameter 1 2 3 I would like it to automatically be executed as
grc command -parameter 1 2 3.
I'm not looking to use aliases, for example
traceroute alias to
grc traceroute, as I'm adding more and more commands for grc to colorize.
I've looked into preexec and precmd configurations for .zshrc, but I haven't found a way to achieve what I'm looking for.