diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl new file mode 100644 index 0000000..b3edbaf --- /dev/null +++ b/.chezmoi.toml.tmpl @@ -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 -}}