-
-
Save ryanmoon/263ed8498da7fd9b8f343dbc29d9fc95 to your computer and use it in GitHub Desktop.
Mac 10.10.5 notification w/Iterm2
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
1. Install: https://github.com/julienXX/terminal-notifier | |
2. Have iterm2: https://www.iterm2.com/ | |
3. In iterm2, setup a trigger on your "Profile" => "Advanced" => "Triggers", like | |
https://www.evernote.com/l/AAX11ukjn5pDSYrbR54z_vNJuv-U6jyU6BAB/image.png | |
Where regexp is: "Deployment .+ for .+ on deployment id .*" | |
and params are "/usr/local/bin/terminal-notifier -title "Deployment finished" -message "\0" | |
4. That should do it. You can test it out by running: | |
sleep 5 && echo "Deployment succeeded for Peach-API on deployment id d-GXY9RDCGB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment