1
0
chezmoi/home/.chezmoi.toml.tmpl

21 lines
593 B
Cheetah
Raw Normal View History

2024-03-04 14:43:02 +00:00
chezmoi:template:missing-key=zero
2024-03-04 12:30:21 +00:00
[data]
2024-03-04 13:21:42 +00:00
email = {{ promptString "Git main email address " "" | quote }}
2024-03-04 14:59:16 +00:00
{{- with promptInt "How many mbsync accounts would you generate " -}}{{- $count := . | int }}
2024-03-04 13:35:01 +00:00
{{- if gt $count 0 -}}
{{- range $i, $e := until $count }}
2024-03-04 12:30:21 +00:00
[[data.mbsync]]
2024-03-04 14:57:23 +00:00
active = true
2024-03-04 13:14:10 +00:00
name = {{ promptString "MbSync account name " | quote }}
mail = {{ promptString "MbSync account mail " | quote }}
user = {{ promptString "MbSync account user " | quote }}
2024-03-04 13:11:35 +00:00
host = {{ promptString "MbSync account host " | quote }}
2024-03-04 12:55:46 +00:00
{{- end }}
2024-03-04 14:59:16 +00:00
{{- end }}
{{ else }}
2024-03-04 14:57:23 +00:00
[[data.mbsync]]
active = false
2024-03-04 14:59:16 +00:00
2024-03-04 13:01:37 +00:00
{{- end }}