Skip to content

Instantly share code, notes, and snippets.

@edenthecat
Last active February 9, 2018 18:05
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edenthecat/a08c3f2b84957d90b7dcdd2ef6073827 to your computer and use it in GitHub Desktop.
Save edenthecat/a08c3f2b84957d90b7dcdd2ef6073827 to your computer and use it in GitHub Desktop.
Alert me when a process is complete

Install terminal-notifier via homebrew: https://github.com/julienXX/terminal-notifier

If using zsh, create an alias: alias -g holler="echo 'holler' | terminal-notifier -sound default"

Store it in ./zshrc if you're happy with it!

Now you can run bundle exec rspec ; holler and it will make a notification that says "holler" when your tests are done.

If you want to use a different sound than default, you can use any of the sounds listed in the Sound Preferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment