diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index a6a00f8..3b9c0ce 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 " | int }} +{{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }} -{{- if gt $mbsyncAccountNumber 0 }} +{{- if gt {{- $mbsyncAccountNumber | int -}} 0 -}} {{- range $i, $e := until $mbsyncAccountNumber -}} {{- $mbsyncAccountName := promptStringOnce . "mbsync.name" "MbSync account name " }} {{- $mbsyncAccountMail := promptStringOnce . "mbsync.mail" "MbSync account mail " }}