3 ms·
I do the same thing with a shell alias called `SUCCESS`: alias SUCCESS='echo -e '\''\n\nSUCCESS'\'' && bash -c '\''mpv ~/bin/kazoo-fanfare.mp3 &'\''
by gknoy 6y ago
I do the same thing with a shell alias called `SUCCESS`:
alias SUCCESS='echo -e '\''\n\nSUCCESS'\''
&& bash -c '\''mpv ~/bin/kazoo-fanfare.mp3 &'\''
|| echo FAILED' # or play sad trombone sound
# (some escaping might not survive ...)
It's an always too-loud and too-annoying "Tadaa!" style fanfare that is very clearly NOT my music, and I will very frequently use it in the context of `make test && SUCCESS` to monitor long-running test suites while I do other work.