DEV Community

Atif Afzal
Atif Afzal

Posted on • Originally published at atfzl.com on

Using iTerm triggers

iTerm triggers can be used for converting text in your terminal to URLs and make them clickable. This is useful for creating JIRA issue links whenever there is a JIRA-1234 like pattern.

Steps:

Go to iTerm -> Preferences -> Profiles -> Advanced -> Triggers Edit

iterm preference

Add an entry in the table

Regular Expression: (?i)JIRA-\d+
Action: Make Hyperlink
Parameters: https://jira.yourhost.com/jira/browse/\0Β―
Enter fullscreen mode Exit fullscreen mode

table

Now whenever there is a pattern with JIRA-1234, it will become a clickable hyperlink.

Top comments (0)