Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeGrace/437309 to your computer and use it in GitHub Desktop.
Save MikeGrace/437309 to your computer and use it in GitHub Desktop.
# Use growlnotify to alert user of commit status
krl() {
if [[ $@ == "commit" ]]; then
command krl commit | tee status.txt | growlnotify -t "KRL" --image /kynetx-x.png;
cat status.txt;
else
command krl $@
fi;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment