Add .chezmoi template

This commit is contained in:
Gals 2024-01-04 01:26:10 +07:00
parent 88ea205e13
commit 6ca2f7e6ca
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 14 additions and 0 deletions

14
.chezmoi.toml.tmpl Normal file
View File

@ -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 }}"