-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.chezmoi.toml.tmpl
40 lines (32 loc) · 1019 Bytes
/
.chezmoi.toml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{ $choices := list "private" "work" -}}
{{ $mode := promptChoiceOnce . "private" "What is your data mode" $choices -}}
{{ $email := promptStringOnce . "email" "What is your email address" "[email protected]" -}}
{{ $name := promptStringOnce . "name" "What is your name or nickname" "haril" -}}
encryption = "age"
[age]
identity = "{{ .chezmoi.homeDir }}/Documents/dev/key/age-key.txt"
recipient = "age1d5hy0nys2yzkt444z7r235hcw85n3tpspencz8htp5d6rh6eq5qqujgs43"
[gpg]
args = ["--quiet"]
[git]
autocommit = true
[edit]
command = "lvim"
[merge]
command = "lvim"
args = ["-d", "{{`{{ .Destination }}`}}", "{{`{{ .Source }}", "{{ .Target }}`}}"]
[diff]
pager = "delta --side-by-side"
#command = "delta"
#pager = "delta"
#args = ["{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
[data]
mode = "{{ $mode }}"
email = "{{ $email }}"
name = "{{ $name }}"
{{ if eq .chezmoi.os "darwin" }}
[[textconv]]
pattern = "**/*.plist"
command = "plutil"
args = ["-convert", "xml1", "-o", "-", "-"]
{{ end }}