diff options
Diffstat (limited to '.chezmoi.yml.tmpl')
-rw-r--r-- | .chezmoi.yml.tmpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.chezmoi.yml.tmpl b/.chezmoi.yml.tmpl new file mode 100644 index 0000000..a72311c --- /dev/null +++ b/.chezmoi.yml.tmpl @@ -0,0 +1,17 @@ +{{- $email := get . "email" -}} +{{- if not $email -}} +{{- $email = promptString "email" -}} +{{- end -}} + +{{- $work := get . "work" -}} +{{- if not $work -}} +{{- $work = promptBool "work computer" -}} +{{- end -}} + +data: + email: {{ $email | quote }} + work: {{ $work }} +edit: + command: code + args: + - "--wait" |