add .chezmoi.toml.tmpl

This commit is contained in:
inkch 2024-01-17 10:24:06 +09:00
parent 312d3ae4d2
commit 52606bf8fd

15
.chezmoi.toml.tmpl Normal file
View File

@ -0,0 +1,15 @@
[edit]
command = "nvim"
[diff]
command = "delta"
[merge]
command = "nvim"
args = ["-d", "{{ .Destination }}", "{{ .Source }}", "{{ .Target }}"]
{{- $choices := list "desktop" "laptop" "server" -}}
{{- $hosttype := promptChoiceOnce . "hosttype" "What type of host?" $choices -}}
[data]
hosttype = {{- $hosttype | quote -}}