From d7cca9eca321a7986605c2842cf23cef18727452 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:16 +0100 Subject: feat(chezmoi): persist sourceDir so bare chezmoi commands work Adds sourceDir = .chezmoi.sourceDir to the tracked config template. After 'just init' (or 'chezmoi init --force -S .') regenerates the per-machine config, 'chezmoi apply' etc. no longer need '-S .'. --- .chezmoi.toml.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to '.chezmoi.toml.tmpl') diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index fd0879b..f41c11a 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,3 +1,5 @@ +sourceDir = {{ .chezmoi.sourceDir | quote }} + [status] exclude = ["scripts"] -- cgit v1.3.1