Created
May 10, 2016 23:08
-
-
Save wytten/8151ef578a39b33118e9f34d6c6b16d3 to your computer and use it in GitHub Desktop.
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
function play { | |
local wav=`cygpath -W`/Media/$1.wav | |
if [ -f "$wav" ]; then | |
cp "$wav" /dev/dsp | |
else | |
echo "$wav" not found | |
fi | |
} | |
function tada { | |
play tada | |
} | |
function doit_good { | |
ls && tada | |
} | |
function doit_bad { | |
wc /tmp || play chord | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment