Up.
This commit is contained in:
parent
b5b63a4e9a
commit
f68b1b5541
@ -1,7 +1,7 @@
|
||||
chezmoi:template:missing-key=zero
|
||||
[data]
|
||||
email = {{ promptString "Git main email address " "" | quote }}
|
||||
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int }}
|
||||
{{- with promptInt "How many mbsync accounts would you generate " -}}{{- $count := . | int }}
|
||||
{{- if gt $count 0 -}}
|
||||
{{- range $i, $e := until $count }}
|
||||
[[data.mbsync]]
|
||||
@ -11,8 +11,10 @@ mail = {{ promptString "MbSync account mail " | quote }}
|
||||
user = {{ promptString "MbSync account user " | quote }}
|
||||
host = {{ promptString "MbSync account host " | quote }}
|
||||
{{- end }}
|
||||
{{ else -}}
|
||||
{{- end }}
|
||||
|
||||
{{ else }}
|
||||
[[data.mbsync]]
|
||||
active = false
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user