diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 0a53ebe..a25fa56 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -1,5 +1,5 @@ {{- $email := promptString "Git main email address " ""}} -{{- with promptInt "How many mbsync accounts would you generate " 0 }}{{ $mbsyncAccountNumber := . | int }}{{ end }} +{{- with $mbsyncAccountNumber := promptInt "How many mbsync accounts would you generate " 0 }}{{ $mbsyncAccountNumber = $mbsyncAccountNumber | int }}{{ end }} [data] email = {{ $email | quote }}