Mercurial > dotfiles
view .chezmoi.toml.tmpl @ 673:e258ef0fb4cd
Add prettier config (#1)
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
author | Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com> |
---|---|
date | Thu, 29 Sep 2022 23:03:11 +0200 |
parents | 174245fca5a3 |
children | 9f8854fc3cc2 |
line wrap: on
line source
{{- $email := "" -}} {{- if (hasKey . "email") -}} {{- $email = .email -}} {{- else -}} {{- $email = promptString "email" -}} {{- end -}} {{- $name := "" -}} {{- if (hasKey . "name") -}} {{- $name = .name -}} {{- else -}} {{- $name = promptString "name" -}} {{- end -}} {{- $signingkey := "" -}} {{- if (hasKey . "signingkey") -}} {{- $signingkey = .signingkey -}} {{- else -}} {{- $signingkey = promptString "GPG key" -}} {{- end -}} {{- $font_size := "" -}} {{- if (hasKey . "font_size") -}} {{- $font_size = .font_size -}} {{- else -}} {{- $font_size = promptString "font_size" -}} {{- end -}} [data] email = {{ $email | quote }} name = {{ $name | quote }} signingkey = {{ $signingkey | quote }} font_size = {{ $font_size | quote }}