I want to share one of the cool features which iTerm.app has - triggers. The idea behind triggers is simple - it allows to perform arbitrary action based on the output in console window. For example, it can colorize specified content (based on regular expressions).
iTerm, open settings (
⌘+,), go to
Profiles, then tab
Edit button in
Then you can define your own triggers: