Created
April 2, 2020 05:00
-
-
Save tomaszprasolek/646efb7ae80e75b4f30ca88b3248a86d to your computer and use it in GitHub Desktop.
Play sound after commit
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/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