Last active
October 7, 2019 17:40
-
-
Save tatosjb/30a86d3fad5eed4917453599aaeea152 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iTterm2 > Preferences > Profiles > Advanced > Triggers [Edit] | |
install https://github.com/julienXX/terminal-notifier | |
(Alternatively, you can use the native option using only \1 on Parameters field) | |
Expressão: PASS\s*.*\/(.*\/.*\/.*)\/.*js | |
Action: Run command | |
Parameters: $HOME/.asdf/shims/terminal-notifier -title "✅ JEST" -message "\1" | |
Instant: True | |
Expressão: FAIL\s*.*\/(.*\/.*\/.*)\/.*js | |
Action: Run command | |
Parameters: $HOME/.asdf/shims/terminal-notifier -title "❌ JEST" -message "\1" | |
Instant: True | |
Expressão: ● .*\s*›\s*([aA-zZ\s]*$) | |
Action: Run command | |
Parameters: $HOME/.asdf/shims/terminal-notifier -title "❌ JEST" -message "\1" | |
Instant: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment