Skip to content

Instantly share code, notes, and snippets.

@ntietz
Created June 22, 2013 05:21
Show Gist options
  • Select an option

  • Save ntietz/5835963 to your computer and use it in GitHub Desktop.

Select an option

Save ntietz/5835963 to your computer and use it in GitHub Desktop.
A simple announce script which will give a verbal notification when your program finishes running. Usage: announce bin arg1 args2 ... (exactly the same as "time"). Alternate: announce -m "say this instead" bin arg1 arg2 ...
PROG=$1
shift
ARGS=$@
$PROG $ARGS
say -v Zarvox $MSG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment