DEV Community

loading...

Using iTerm triggers

atfzl profile image Atif Afzal Originally published at atfzl.com on ・1 min read

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.

Discussion (0)

Forem Open with the Forem app