Created
July 31, 2009 03:48
-
-
Save robbyrussell/159076 to your computer and use it in GitHub Desktop.
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
# notify me by echo, text-to-speech, AND growl. | |
function shout { | |
echo $1 && say $1 && growlnotify -m $1; | |
} | |
# usage | |
shout "I'm using this in my bash scripts so that my scripts talk to me and get my attention." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment