From a7992a7bc73edc55615bf5e18111f5a8f37dde95 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 16:22:30 +0100 Subject: [PATCH] Up. --- home/.chezmoi.toml.tmpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 194e5c9..b02e59d 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,15 +1,15 @@ [data] email = {{ promptString "Git main email address " "" | quote }} -{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int }} +{{- 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 }} - {{- else -}} - [[data.mbsync]] {{- end -}} +{{- else -}} + [[data.mbsync]] {{- end }}