diff --git a/templates/scripts/latex-test b/templates/scripts/latex-test new file mode 100755 index 0000000..d8c4253 --- /dev/null +++ b/templates/scripts/latex-test @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +echo "Latex Test: '$1'" diff --git a/templates/templ b/templates/templ new file mode 100755 index 0000000..1a0bb4b --- /dev/null +++ b/templates/templ @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +BASE_DIR=`dirname "$0"` + +TO_CREATE=`ls "$BASE_DIR"/scripts | fzf` + +read -p "Directory [.]: " WHERE +WHERE=${WHERE:-.} + +mkdir -p "$WHERE" + +"$BASE_DIR/scripts/$TO_CREATE" "$WHERE" +