diff options
Diffstat (limited to 'scripts/.local/bin/init-latex.sh')
-rwxr-xr-x | scripts/.local/bin/init-latex.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/.local/bin/init-latex.sh b/scripts/.local/bin/init-latex.sh new file mode 100755 index 0000000..7b8125e --- /dev/null +++ b/scripts/.local/bin/init-latex.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +USER="tobyvin" +GIST_ID="c94716d1106256e4ab0e27aed398a0a2" + +curl -Ls "https://gist.github.com/${USER}/${GIST_ID}/download" -o tempFile +unzip -q tempFile +rm -rf tempFile +mv "${GIST_ID}-master" styles +mv styles/template.tex "$(basename "$(pwd)").tex" +mv styles/table.tex . |