aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/justfile b/justfile
index 716f7ed..8191241 100644
--- a/justfile
+++ b/justfile
@@ -2,9 +2,9 @@
install-hooks:
git config core.hooksPath .githooks
-# Deploy dotfiles
+# Deploy dotfiles (regenerates config from template if it changed)
apply:
- chezmoi apply -S .
+ chezmoi init --apply -S .
# Install packages from one or more groups (e.g. just install base dev wayland)
install *groups:
@@ -80,6 +80,7 @@ status:
done
echo ""
echo "=== Dotfile drift ==="
+ chezmoi init -S . >/dev/null 2>&1 || true
chezmoi status -S . || true
# Show install coverage for each group (or full breakdown for one group)