diff --git a/dot_local/spells/executable_audiosplit.sh b/dot_local/spells/executable_audiosplit.sh new file mode 100644 index 0000000..f0c94c4 --- /dev/null +++ b/dot_local/spells/executable_audiosplit.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -euo pipefail + +read -r -p "Input file: " INPUT +echo "$INPUT" +read -r -p "Start Time: " START +START="-ss ${START}" +echo "$START" +read -r -p "End Time: " END +END="-to ${END}" +echo "$END" +read -r -p "Output File: " OUTPUT +echo "$OUTPUT" diff --git a/dot_local/spells/executable_ediff.sh b/dot_local/spells/executable_ediff.sh new file mode 100644 index 0000000..8fb7dea --- /dev/null +++ b/dot_local/spells/executable_ediff.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Simple script to send a merge command to emacs ediff +emacsclient --eval "(ediff \"$1\" \"$2\")"