aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/justfile b/justfile
index 8191241..e201c31 100644
--- a/justfile
+++ b/justfile
@@ -2,9 +2,13 @@
install-hooks:
git config core.hooksPath .githooks
-# Deploy dotfiles (regenerates config from template if it changed)
+# Deploy dotfiles
apply:
- chezmoi init --apply -S .
+ chezmoi apply -S .
+
+# Regenerate chezmoi config from .chezmoi.toml.tmpl (run when the template changes)
+init:
+ chezmoi init -S .
# Install packages from one or more groups (e.g. just install base dev wayland)
install *groups:
@@ -80,7 +84,6 @@ 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)