diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-03-29 15:33:22 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-03-29 15:33:22 -0500 |
commit | 835b994969c90a3caa40bc43fae8d71e1bfbca56 (patch) | |
tree | 47ba45b6f75edff6f9821af9486e9f9345916ba1 /scripts/.local/bin/init-latex.sh | |
parent | c3cfb415f86c48488a41e9ac44b2ca9c4cc5825b (diff) |
refactor: moved scripts out of $HOME
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 . |