1
0
chezmoi/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl
2024-05-07 23:17:46 +02:00

27 lines
435 B
Cheetah

#!{{ lookPath "bash" }}
# Logging function
log() {
printf "$(tput setaf 4)$(tput bold)>>>>> %s <<<<<$(tput sgr0)\n" "$1"
}
inf() {
printf "$(tput setaf 2)╚═══ᐳ $(tput sgr 0 1)$(tput setaf 2)%s$(tput sgr0)\n" "$1"
}
# Environment variables
TEXMFDIR=${HOME}/texmf/tex/latex
{{- if (ne .latex false) }}
log "Begin LaTeX repo initialization"
texhash "${TEXMFDIR}"
log "Finish LaTeX repo initialization"
{{ end -}}