From b0d3303fa73cd139c8c137da14567adeadfc6883 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 11 Oct 2022 02:02:37 +0100 Subject: [PATCH] chore: ignore files & setup editor/gpg --- .chezmoi.yaml.tmpl | 21 +++++++++++++++++++++ .chezmoiignore | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 .chezmoi.yaml.tmpl create mode 100644 .chezmoiignore diff --git a/.chezmoi.yaml.tmpl b/.chezmoi.yaml.tmpl new file mode 100644 index 0000000..5bc7e7b --- /dev/null +++ b/.chezmoi.yaml.tmpl @@ -0,0 +1,21 @@ +# vim:ft=yaml:fenc=utf-8:fdm=marker +encryption: gpg + +gpg: + recipient: sgoudham@gmail.com + +edit: + command: lvim +diff: + command: lvim + args: + - "-d" + - "{{ .Destination }}" + - "{{ .Target }}" +merge: + command: lvim + args: + - "-d" + - "{{ .Destination }}" + - "{{ .Source }}" + - "{{ .Target }}" diff --git a/.chezmoiignore b/.chezmoiignore new file mode 100644 index 0000000..2335b7a --- /dev/null +++ b/.chezmoiignore @@ -0,0 +1,5 @@ +README.md + +{{- if .chezmoi.os "windows" }} +.zshrc +{{- end }}