From 769865358c3a500e44a521d5bb4f1e244d227f2e Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Thu, 17 Oct 2024 09:08:37 -0400 Subject: [PATCH] feat: add github handle --- home/.chezmoi.toml.tmpl | 4 +++- .../private_Application Support/private_jj/config.toml.tmpl | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/home/.chezmoi.toml.tmpl b/home/.chezmoi.toml.tmpl index 248585e..753394e 100644 --- a/home/.chezmoi.toml.tmpl +++ b/home/.chezmoi.toml.tmpl @@ -8,6 +8,7 @@ {{ $name := promptString "name" -}} {{ $email := promptString "email" -}} +{{ $github := promptString "github" -}} encryption = "age" [age] @@ -17,4 +18,5 @@ encryption = "age" hostname = {{ $hostname | quote }} hosttype = {{ $hosttype | quote }} name = {{ $name | quote }} - email = {{ $email | quote }} \ No newline at end of file + email = {{ $email | quote }} + github = {{ $github | quote }} \ No newline at end of file diff --git a/home/private_Library/private_Application Support/private_jj/config.toml.tmpl b/home/private_Library/private_Application Support/private_jj/config.toml.tmpl index 4aaf9fb..1fb9e0f 100644 --- a/home/private_Library/private_Application Support/private_jj/config.toml.tmpl +++ b/home/private_Library/private_Application Support/private_jj/config.toml.tmpl @@ -3,7 +3,8 @@ name = {{ .name | quote }} email = {{ .email | quote }} [git] -push-bookmark-prefix = "thermokarst/jj-" +push-bookmark-prefix = "{{ .github }}/jj-" +private-commits = "description(glob:'private:*')" [revset-aliases] 'stack()' = 'main..@'