diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index e44e13b..462d8db 100644 --- a/home/.chezmoi.yaml.tmpl +++ b/home/.chezmoi.yaml.tmpl @@ -2,7 +2,7 @@ {{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }} {{- if gt $mbsyncAccountNumber 0 -}} - {{- range $i, $e := until $mbsyncAccountNumber -}} + {{- range $i, $e := until $mbsyncAccountNumber | int -}} {{- $mbsyncAccountName := promptStringOnce . "mbsync" "MbSync account name " }} {{- $mbsyncAccountMail := promptStringOnce . "mbsync" "MbSync account mail " }} {{- $mbsyncAccountUser := promptStringOnce . "mbsync" "MbSync account user " }}