Skip to content

Instantly share code, notes, and snippets.

@tomaszprasolek
Created April 2, 2020 05:00
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