typst-templates/gensettings.sh
dogeystamp 99fd8e3788
overhaul a lot of stuff
- added lref feature which links to files in the knowledge base without
  having to add ten million "../../../"
- instructions changed so that now you can link to
  "/templates/template.typ" without having to add ten million
  "../../../" to the path
2023-07-10 13:01:07 -04:00

14 lines
178 B
Bash
Executable File

#!/bin/sh
PROGNAME=$(basename "$0")
if [ -z "$TYPST_ROOT" ]; then
echo "$PROGNAME: "'Please set $TYPST_ROOT.'
exit 1
fi
cat <<EOF > $1
prefix: "$TYPST_ROOT"
me: "$USER"
EOF