-
-
Save reyk/63b852e97cc3ba1e51dd8963869c7d58 to your computer and use it in GitHub Desktop.
If you're waiting for your compiler to finish... works perfectly with Rust and "j cargo build"
This file contains hidden or 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 | |
SESSION=$(openssl rand -hex 8) | |
SONG=~/Downloads/Jeopardy-theme-song.mp3 | |
tmux new-session -d -s ${SESSION} "mplayer -loop 0 ${SONG}" | |
$@ | |
RET=$? | |
tmux kill-session -t ${SESSION} | |
exit $RET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment