dotfiles/.chezmoi.toml.tmpl

20 lines
535 B
Cheetah
Raw Normal View History

2024-01-17 10:24:06 +09:00
[edit]
command = "nvim"
[diff]
2024-01-18 12:44:55 +09:00
pager = "delta"
2024-01-18 22:44:08 +09:00
exclude = ["scripts"]
2024-01-17 10:24:06 +09:00
[merge]
command = "nvim"
2024-01-17 10:47:25 +09:00
args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"]
2024-01-17 10:24:06 +09:00
2024-01-18 11:58:21 +09:00
[age]
identity = "~/.config/chezmoi/key.txt"
recipient = "age1j75kdg9enpwlvnmxv3qak90gn5swlez63f580wzj6ucw37xemy3s0knqa6" # can be array
{{- $choices := list "desktop" "laptop" "server" }}
{{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }}
2024-01-17 10:24:06 +09:00
[data]
hosttype = {{- $hosttype | quote -}}