Sharing knowledge

by Oleg Atamanenko

Using iTerm triggers

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).

Start iTerm, open settings (⌘+,), go to Profiles, then tab Advanced. Click on Edit button in Triggers section.

iTerm Settings

Then you can define your own triggers:

Triggers Configuration

Example output:

Example output

Happy coding!

If you have any questions, feel free to ping me on Twitter.

Filed under: articledevelopmentitermosxtips

Last update:

Сплин - Резонанс, часть 1. PhotoStream #1. Sunset

comments powered by Disqus