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