alias clang="aplay metalpipe.mp3 && clang"
@hertog
OK so on my Linux machine putting this in ~/.local/bin/clang (remember to chmod +x) actually works when building software with make CC=clang:
#!/bin/sh
paplay /full/path/to/metalpipe.mp3 &
exec /usr/bin/clang "$@"
& so it plays in the bg and doesnt interrupt with compilation <3@hertog I'd probably switch the order
so you get a nice notification when your code has compiled (successfully)