dotfiles/.chezmoi.toml.tmpl
2024-01-17 10:47:25 +09:00

16 lines
370 B
Cheetah

[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 -}}