summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.chezmoi.yml.tmpl17
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"