iTerm2 Triggers
22/06/2022
'Supercharge your terminal'
created using craiyon.com
TIL about iTerm2 Triggers which is a super easy way to super charge your terminal. It's a feature that let's you highlight text, create links and much more!
You can find it in the settings here:
Highlight IP Address
One thing that I have added is to highligh IP Addresses, which makes it very easy to distinguish addresses when glancing over a log.
Regular Expression:
(\b25[0-5]|\b2[0-4][0-9]|\b[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}
Look at all those hacker attempts... Now in gold color!
Link to Jira
Another nice feature is to add a clickable link to the Jira ticket. For example when you check the git log you can now directly just shift+click and come directly to the Jira ticket in the browser.
- Regular Expression:
(?i)wf-\d+
(replace "wf" with your Jira project's key) - Action:
Make Hyperlink
- Parameters
https://jira.your-company.jp/browse/\0
(replace "your-company" with your company's subdomain)
created using craiyon.com