Created
August 4, 2010 17:53
-
-
Save ltackett/508516 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# sounds -- YES! SOUNDS! | |
export SUCCEED="$HOME/Music/succeed.mp3" | |
export FAIL="$HOME/Music/fail.mp3" | |
alias g='git' | |
# Gush was just an alias before, but this is way better. | |
# Thanks M. Dave Auayan ( http://github.com/sxtxixtxcxh ) | |
function gush { | |
g push "$@" | |
if [ $? = 0 ]; then | |
{ afplay $SUCCEED & } 2>/dev/null | |
disown | |
else | |
{ afplay $FAIL & } 2>/dev/null | |
disown | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment