Template email

This commit is contained in:
Andrew Scott 2023-02-01 14:03:35 -05:00
parent 3723ee4cde
commit 08bb9b2f8b
Signed by: a
GPG key ID: 7CD5A5977E4931C1
2 changed files with 5 additions and 1 deletions

4
.chezmoi.toml.tmpl Normal file
View file

@ -0,0 +1,4 @@
{{- $email := promptStringOnce . "email" "Email address" -}}
[data]
email = {{ $email | quote }}

View file

@ -1,6 +1,6 @@
[user]
name = Andrew Scott
email = git@andyscott.me
email = {{ .email | quote }}
signingKey = 7CD5A5977E4931C1
[init]
defaultBranch = main