From ecaa754c048995be244de24c86b3390e34496573 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 14:19:29 +0100 Subject: [PATCH] Up. --- home/.chezmoi.toml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 41936ad..a81709c 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,8 +1,8 @@ {{- $email := promptString "Git main email address " "" -}} -{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $mbsyncAccountNumber := . | int -}} [data] email = {{ $email | quote }} +{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $mbsyncAccountNumber := . | int -}} {{- if gt $mbsyncAccountNumber 0 -}} {{- range $i, $e := until $mbsyncAccountNumber }} [[data.mbsync]]