DEV Community

Discussion on: My Terminal Setup: iTerm2 + Zsh 🔥

Collapse
 
oscherler profile image
Olivier “Ölbaum” Scherler

Are you using shell integration and triggers in iTerm2? I just finally got around to figure out what they’re for, and it’s awesome.

Shell integration detects your prompt so you can quickly navigate back to the star of the output of the previous command, for example. Saves you from having to clear your scrollback buffer before a command with a lot of output. It can also switch profiles depending on your username, host, or path.

Triggers can react to the output. I use it to pop a notification when Ansible is done running, to colour the run time of lengthy Ansible tasks, etc.