Created
October 2, 2012 17:43
-
-
Save vincentchu/3821550 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
#!/bin/bash | |
$@ | |
CODE=$? | |
if [ "$CODE" = "0" ] | |
then | |
growlnotify --image /Users/vince/bin/images/doom_succ.png --message "$1" Command Succeeded! | |
else | |
growlnotify --image /Users/vince/bin/images/doom_fail.png --message "$1" Command Failed! | |
fi | |
exit $CODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment