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