Last active
June 22, 2016 05:57
-
-
Save robraux/aa9c266ec8115e91b923 to your computer and use it in GitHub Desktop.
Mac 10.10.5 notification w/Iterm2
This file contains hidden or 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