From 7101175810258b2b9f6738d05d22ceb865e67377 Mon Sep 17 00:00:00 2001 From: Jeff LANCE <jeff.lance@mala.fr> Date: Fri, 2 Aug 2024 16:33:15 +0200 Subject: [PATCH] Up. --- home/.chezmoi.toml.tmpl | 8 ++++---- home/.chezmoiexternal.toml.tmpl | 2 +- .../run_once_after_50-finalize-latex.sh.tmpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 61e80b9..9b159d2 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,10 +1,10 @@ -{{ $email := promptStringOnce "What is your main git email address " "" }} -{{ $signinkey := promptStringOnce "What is your git signing key " "" }} -{{ $latex := promptBoolOnce "Do i install latex files " false }} +{{ $email := promptStringOnce . "email" "What is your main git email address " }} +{{ $signinkey := promptStringOnce . "signingkey" "What is your git signing key " }} +{{ $latex := promptBoolOnce . "hasLatex" "Do i install latex files " }} [git] autoCommit = true autoPush = true [data] email = {{ $email | quote }} signinkey = {{ $signinkey | quote }} -latex = {{ $latex }} +hasLatex = {{ $hasLatex }} diff --git a/home/.chezmoiexternal.toml.tmpl b/home/.chezmoiexternal.toml.tmpl index 0dcf834..7035058 100644 --- a/home/.chezmoiexternal.toml.tmpl +++ b/home/.chezmoiexternal.toml.tmpl @@ -65,7 +65,7 @@ url = "https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh" refreshPeriod = "168h" -{{- if ne .latex false }} +{{- if ne .hasLatex false }} ["texmf/tex/latex/latex-homework"] type = "git-repo" url = "https://git.jefflance.me/jeff/latex-homework.git" diff --git a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl b/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl index bd32224..7ee42e4 100644 --- a/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl +++ b/home/.chezmoiscripts/run_once_after_50-finalize-latex.sh.tmpl @@ -16,7 +16,7 @@ TEXMFDIR=${HOME}/texmf/tex/latex -{{- if (ne .latex false) }} +{{- if (ne .hasLatex false) }} log "Begin LaTeX repo initialization" texhash "${TEXMFDIR}"