blob: b32744bba81176b0b789faf614a3a708ea619494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{- $defaultPager := "less" -}}
{{- if lookPath "delta" -}}
{{- $defaultPager = "delta" -}}
{{- end -}}
{{- $defaultName := .chezmoi.username | title -}}
{{- $defaultEmail := printf "%s@%s" .chezmoi.username .chezmoi.hostname -}}
[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 }}
|