aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-x.githooks/post-commit2
-rw-r--r--justfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.githooks/post-commit b/.githooks/post-commit
index 83acb4f..d2d7eba 100755
--- a/.githooks/post-commit
+++ b/.githooks/post-commit
@@ -1,2 +1,2 @@
#!/bin/sh
-chezmoi apply
+chezmoi apply -S "$(git rev-parse --show-toplevel)"
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="":