Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Created July 25, 2013 20:11
Show Gist options
  • Select an option

  • Save aaronpk/6083289 to your computer and use it in GitHub Desktop.

Select an option

Save aaronpk/6083289 to your computer and use it in GitHub Desktop.
# 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