From 0cd53c5bbad1d9d16e3e65929f9d730dd9ca4ca8 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:26 +0100 Subject: fix: pass -S . to chezmoi so apply/status work from any CWD Without an explicit source, chezmoi defaults to ~/.local/share/chezmoi which doesn't exist on this setup. The post-commit hook uses git rev-parse so it works even if the hook is run from a subdirectory. --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 2a91239..716f7ed 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,7 @@ install-hooks: # Deploy dotfiles apply: - chezmoi apply + chezmoi apply -S . # Install packages from one or more groups (e.g. just install base dev wayland) install *groups: @@ -80,7 +80,7 @@ status: done echo "" echo "=== Dotfile drift ===" - chezmoi status || true + chezmoi status -S . || true # Show install coverage for each group (or full breakdown for one group) groups group="": -- cgit v1.2.3-70-g09d2