From dc98242918e1696dbdd7c09b379c3fd3aae6a3e0 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 13:58:35 +0100 Subject: [PATCH] Up. --- home/.chezmoi.toml.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 231e404..0a53ebe 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,6 +1,5 @@ {{- $email := promptString "Git main email address " ""}} -{{- $mbsyncAccountNumber := promptInt "How many mbsync accounts would you generate " 0 }} -{{- $mbsyncAccountNumber = $mbsyncAccountNumber | int -}} +{{- with promptInt "How many mbsync accounts would you generate " 0 }}{{ $mbsyncAccountNumber := . | int }}{{ end }} [data] email = {{ $email | quote }}