From 328aba39384dd9c404891bd4d45ec13b21b70bd2 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Mar 2024 13:02:15 +0100 Subject: [PATCH] Up. --- home/.chezmoi.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index 12286e0..e9572a3 100644 --- a/home/.chezmoi.yaml.tmpl +++ b/home/.chezmoi.yaml.tmpl @@ -1,7 +1,7 @@ {{- $email := promptStringOnce . "email" "Email address " }} {{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }} -{{- if $mbsyncAccountNumber gt 0 }} +{{- if gt $mbsyncAccountNumber 0 }} {{- range $i, $e := until $mbsyncAccountNumber -}} {{- $mbsyncAccountName := promptStringOnce . "mbsync.name" "MbSync account name " }} {{- $mbsyncAccountMail := promptStringOnce . "mbsync.mail" "MbSync account mail " }}