blob: db5a9a405579bd9ee05de2d0b08b9bc064bcc5b5 (
plain)
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
41
42
43
|
{{- $defaultPager := "less" -}}
{{- if lookPath "delta" -}}
{{- $defaultPager = "delta" -}}
{{- end -}}
{{- $defaultUsername := .chezmoi.username | replaceAllRegex "^[^\\\\]+\\\\" "" }}
{{- $defaultName := $defaultUsername | title -}}
{{- $defaultEmail := printf "%s@%s" $defaultUsername .chezmoi.hostname -}}
{{- $defaultTitlebarPlacement := "right" -}}
{{- $titlebarPlacementChoices := list "left" "right" -}}
[diff]
pager = {{ promptString "chezmoi pager" $defaultPager | quote }}
[data.git]
name = {{ promptString "git name" $defaultName | quote }}
email = {{ promptString "git email" $defaultEmail | quote }}
pager = {{ promptString "git pager" $defaultPager | quote }}
[data.todo]
personalPriority = {{ promptString "personal todo.txt priority words" $defaultUsername | quote }}
[data.github]
username = {{ promptString "GitHub username" "n/a" | quote }}
[data.ssh]
user = {{ promptString "SSH default user" $defaultUsername | quote }}
{{ if lookPath "dconf" }}
[data.gnome]
buttonLayout = {{ promptString "GNOME WM button layout" "close,appmenu" | quote }}
naturalScroll = {{ promptBool "GNOME mouse natural scroll" true }}
titlebarButtonPlacement = {{ promptChoice "GNOME titlebar button placement" $titlebarPlacementChoices $defaultTitlebarPlacement | quote }}
{{ end }}
[data.nano]
config = "dot_config/nano/alen.json"
default_version = "7.2"
include_paths = [
"/opt/homebrew/share/nano",
"/opt/homebrew/share/nano/extra",
"/usr/share/nano",
"/usr/share/nano/extra",
]
|