We can’t wait to see what you build with it. If set, the value is executed as a command prior to issuing each primary prompt. You need to set PS1, PS2, PS3 and PS4 variable. Prompt is control via a special shell variable.
This way, I can use iterm’s mark navigation features to quickly jump to interesting lines.
Output triggers: iterm can run actions in response to certain text on stdout: I use this to insert a mark at each terminal prompt line and when the phrase “NOTICE ME:” is detected.