From 6ca2f7e6cad0b80e832d715c7beb8e457084334a Mon Sep 17 00:00:00 2001 From: Gals Date: Thu, 4 Jan 2024 01:26:10 +0700 Subject: [PATCH] :sparkles: Add .chezmoi template --- .chezmoi.toml.tmpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .chezmoi.toml.tmpl diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl new file mode 100644 index 0000000..a6d7c2f --- /dev/null +++ b/.chezmoi.toml.tmpl @@ -0,0 +1,14 @@ +{{ if eq .chezmoi.os "darwin" }} +[edit] + command = "code" + args = ["--wait"] +{{ else }} + command = "vim" +{{ end }} + +# {{- $email := promptString "Git email address for the author/committer" }} +# {{- $name := promptString "Git username for the author/committer" }} + +[data] + email = "{{ $email }}" + name = "{{ $name }}"