From 91c77a81a5f3c193eda8515e8ef053e80ea125ad Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:26 +0100 Subject: refactor: revert auto-init, add dedicated 'just init' recipe chezmoi init is only needed when .chezmoi.toml.tmpl changes, so running it on every apply is unnecessary overhead. Run 'just init' manually when the template changes. --- .githooks/post-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.githooks/post-commit') diff --git a/.githooks/post-commit b/.githooks/post-commit index ce41b5c..d2d7eba 100755 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -1,2 +1,2 @@ #!/bin/sh -chezmoi init --apply -S "$(git rev-parse --show-toplevel)" +chezmoi apply -S "$(git rev-parse --show-toplevel)" -- cgit v1.2.3-70-g09d2