From 62c20802ff84f97b1af2d56ca8ed07163d91fad1 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 20 Nov 2019 16:27:10 +0100 Subject: Added files dir --- files/changes.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 files/changes.sh 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 + + -- cgit v1.2.3