Created
July 25, 2013 20:11
-
-
Save aaronpk/6083289 to your computer and use it in GitHub Desktop.
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
| # My setup of Terminal-Notifier | |
| # https://github.com/alloy/terminal-notifier | |
| cd ~/scripts | |
| curl -O http://cloud.github.com/downloads/alloy/terminal-notifier/terminal-notifier_1.4.2.zip | |
| unzip terminal-notifier_1.4.2.zip | |
| mv terminal-notifier_1.4.2/terminal-notifier.app ./ | |
| # in .bash_profile, add: | |
| alias notify="/Users/aaronpk/scripts/terminal-notifier.app/Contents/MacOS/terminal-notifier" | |
| alias alert="/Users/aaronpk/scripts/terminal-notifier.app/Contents/MacOS/terminal-notifier -message" | |
| # Now you can do things like | |
| notify -message done -title build | |
| bundle exec rake; alert done | |
| bundle exec rake; alert done -title rake | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment