diff options
author | Julian T <julian@jtle.dk> | 2019-11-20 16:27:10 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-11-20 16:27:10 +0100 |
commit | 62c20802ff84f97b1af2d56ca8ed07163d91fad1 (patch) | |
tree | baa3cf93ce3e22cc78d02aa3a66235d0f5bdea5f /files | |
parent | 9dde84d5c54da56adc7d77494b634113c9d58522 (diff) |
Added files dir
Diffstat (limited to 'files')
-rw-r--r-- | files/changes.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/files/changes.sh b/files/changes.sh new file mode 100644 index 0000000..4920dce --- /dev/null +++ b/files/changes.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -e + +cd ~ +youtube-dl -x --audio-format mp3 https://www.youtube.com/watch\?v\=pl3vxEudif8 --output ".changes.%(ext)s" + +echo 'function git() { if [[ $1 == "merge" ]]; then bash -c "play ~/.changes.mp3 -q &"; fi; command git $@; }' >> .bashrc + + |