Skip to content

Instantly share code, notes, and snippets.

@robraux
Last active June 22, 2016 05:57
Show Gist options
  • Save robraux/aa9c266ec8115e91b923 to your computer and use it in GitHub Desktop.
Save robraux/aa9c266ec8115e91b923 to your computer and use it in GitHub Desktop.
Mac 10.10.5 notification w/Iterm2
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