Skip to content

Instantly share code, notes, and snippets.

@marcw
Created December 4, 2012 20:46
Show Gist options
  • Save marcw/4208498 to your computer and use it in GitHub Desktop.
Save marcw/4208498 to your computer and use it in GitHub Desktop.
#!env sh
# sudo gem install terminal-notifier beforehand.
# Install to /usr/local/bin/alarm
# Usage: alarm phpunit -c app
$@
terminal-notifier -message "Return code: $?" -group "$1" -title $1 > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment