From 378543e34bd16fdb31383a51f588277ff8c7b39b Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 15:21:49 +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 a88dc06..9eb1408 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,8 +1,7 @@ [data] email = {{ promptString "Git main email address " "" | quote }} {{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int -}} -{{ $mbsync := $count }} -mbsync = {{ $mbsync }} +mbsync = {{ $count }} {{- if gt $count 0 -}} {{- range $i, $e := until $count }} [[data.mbsync]]