From f2f1149ea8d71588ad246dea3d190f7be36adb22 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 15:13:56 +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 f59cdce..ec378be 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -2,7 +2,7 @@ email = {{ promptString "Git main email address " "" | quote }} {{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int -}} {{- if gt $count 0 -}} -mbsync = {{ . | ternary true false }} +mbsync = {{ $count | ternary true false }} {{- range $i, $e := until $count }} [[data.mbsync]] name = {{ promptString "MbSync account name " | quote }}