From 5edb4db7eee71e91063c615eb4a445ee84c17d07 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 16:23:32 +0100 Subject: [PATCH] Up. --- home/.chezmoi.toml.tmpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index e1c8534..b5333c0 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -3,13 +3,13 @@ email = {{ promptString "Git main email address " "" | quote }} {{- with promptInt "How many mbsync accounts would you generate " -}}{{- $count := . | int }} {{- if gt $count 0 -}} {{- range $i, $e := until $count }} - [[data.mbsync]] - name = {{ promptString "MbSync account name " | quote }} - mail = {{ promptString "MbSync account mail " | quote }} - user = {{ promptString "MbSync account user " | quote }} - host = {{ promptString "MbSync account host " | quote }} +[[data.mbsync]] +name = {{ promptString "MbSync account name " | quote }} +mail = {{ promptString "MbSync account mail " | quote }} +user = {{ promptString "MbSync account user " | quote }} +host = {{ promptString "MbSync account host " | quote }} {{- end }} {{- end }} {{ else }} - [[data.mbsync]] +[[data.mbsync]] {{- end }}