Skip to content

Instantly share code, notes, and snippets.

@robbyrussell
Created July 31, 2009 03:48
Show Gist options
  • Select an option

  • Save robbyrussell/159076 to your computer and use it in GitHub Desktop.

Select an option

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