blob: e8e90fd0ff721e1fb20a197d9737bbc5d4788fb9 (
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
|
# vim:ft=toml
# ~/.local/share/chezmoi/.chezmoi.toml.tmpl
# =============================================================================
# Used to customize configuration when doing a `chezmoi init`.
#
# This template file will trigger prompts to fill-in machine-specific
# templateable values. The resulting file is then created at
# `~/.config/chezmoi/chezmoi.toml`
# See https://www.chezmoi.io/docs/how-to/
#
# {{- /* This file supports Go's text/template language. */ -}}
#
{{ $git_email := promptStringOnce . "git_email" "Email address for Git global config" -}}
{{ $git_name := promptStringOnce . "git_name" "Display name for Git global config" -}}
{{ if eq .chezmoi.os "windows" -}}
[cd]
command = "pwsh"
{{ else }}
[cd]
command = "zsh"
{{ end -}}
[data]
git_email = {{ $git_email | quote }}
git_name = {{ $git_name | quote }}
|