Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Play sound after commit
#!/bin/sh
toplevel_path=`git rev-parse --show-toplevel`
powershell -c "(New-Object System.Media.SoundPlayer '$toplevel_path\.git\hooks\applause10.wav').PlaySync()" > /dev/null 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment