From 81a714345f3a4554deb52e88b643bd022cd5c0a9 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 3 Mar 2024 18:03:51 +0100 Subject: [PATCH] Up. --- .chezmoi.yaml.tmpl => .chezmoi.toml.tmpl | 4 ++-- home/dot_gitconfig.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename .chezmoi.yaml.tmpl => .chezmoi.toml.tmpl (50%) diff --git a/.chezmoi.yaml.tmpl b/.chezmoi.toml.tmpl similarity index 50% rename from .chezmoi.yaml.tmpl rename to .chezmoi.toml.tmpl index 7c38108..3dbb1a7 100644 --- a/.chezmoi.yaml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,4 +1,4 @@ {{ $email := promptString "email" -}} -data: - email: {{ $email | quote }} +[data] +email = {{ $email | quote }} diff --git a/home/dot_gitconfig.tmpl b/home/dot_gitconfig.tmpl index 6ef1f48..10673c9 100644 --- a/home/dot_gitconfig.tmpl +++ b/home/dot_gitconfig.tmpl @@ -1,6 +1,6 @@ [user] - email = email@jefflance.me name = Jeff LANCE + email = {{- .email | quote -}} [core] excludesfile = /home/jeff/.gitignore.global [credential]