Templates v2?
This commit is contained in:
parent
4f1d3f9c97
commit
7582080133
2 changed files with 15 additions and 0 deletions
3
templates/scripts/latex-test
Executable file
3
templates/scripts/latex-test
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Latex Test: '$1'"
|
12
templates/templ
Executable file
12
templates/templ
Executable file
|
@ -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"
|
||||
|
Loading…
Add table
Reference in a new issue