Created
March 6, 2012 16:38
-
-
Save jroes/1987346 to your computer and use it in GitHub Desktop.
Play Warcraft 2 "work complete" sound with shell alias `beep`
This file contains 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
#!/bin/bash | |
# | |
# Adds a shell alias `beep` that plays the "Work Complete!" sound from Warcraft 2 on OSX via afplay. | |
# | |
# Just add `&& beep` to the end of any long-running CLI process. Useful if you aren't a Growl user. | |
# | |
# rake db:reset && rake db:test:prepare && beep # => You'll hear "Work Complete!" when it's done. | |
# | |
# Jon Roes <jroes@jroes.net> | |
cd && wget http://www.thanatosrealms.com/war2/sounds/orcs/basic-orc-voices/work-complete.wav && echo 'alias beep="afplay ~/work-complete.wav"' >> ~/.bash_profile && source ~/.bash_profile && beep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment