Up.
This commit is contained in:
parent
ac364679ca
commit
7ae27ecc78
@ -1,9 +1,7 @@
|
|||||||
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 " 0 -}}{{- $count := . | int }}
|
||||||
{{- if gt $count 0 -}}
|
{{- if gt $count 0 -}}
|
||||||
|
|
||||||
{{- range $i, $e := until $count }}
|
{{- range $i, $e := until $count }}
|
||||||
[[data.mbsync]]
|
[[data.mbsync]]
|
||||||
name = {{ promptString "MbSync account name " | quote }}
|
name = {{ promptString "MbSync account name " | quote }}
|
||||||
@ -11,10 +9,7 @@ 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 -}}
|
||||||
{{ else }}
|
|
||||||
|
|
||||||
[[data.mbsync]]
|
[[data.mbsync]]
|
||||||
|
{{- end -}}
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -24,7 +24,6 @@ BufferLimit 100M
|
|||||||
# #
|
# #
|
||||||
##########################
|
##########################
|
||||||
|
|
||||||
{{ if .mbsync }}
|
|
||||||
{{ range $value := .mbsync }}
|
{{ range $value := .mbsync }}
|
||||||
|
|
||||||
# {{ $value.name }}
|
# {{ $value.name }}
|
||||||
@ -116,4 +115,3 @@ Channel {{ $value.name }}-junk
|
|||||||
Channel {{ $value.name }}-archive
|
Channel {{ $value.name }}-archive
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user