aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/justfile
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:19 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:19 +0100
commite0a91e00736188540b4db9feff8aa77ba1dc46c9 (patch)
tree96af528963417661119b0ee084e094a6989cf1f9 /justfile
parentfcafb03c9b1030dea399d44dda52f62e9117ad96 (diff)
downloaddotfiles-e0a91e00736188540b4db9feff8aa77ba1dc46c9.tar.gz
dotfiles-e0a91e00736188540b4db9feff8aa77ba1dc46c9.tar.bz2
dotfiles-e0a91e00736188540b4db9feff8aa77ba1dc46c9.zip
feat: add tracked git hooks and justfile
- .githooks/post-commit: runs chezmoi apply after every commit - justfile: 'just install-hooks' sets core.hooksPath - Added justfile and .githooks/ to .chezmoiignore
Diffstat (limited to 'justfile')
-rw-r--r--justfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..b1b77b6
--- /dev/null
+++ b/justfile
@@ -0,0 +1,7 @@
+# Install git hooks
+install-hooks:
+ git config core.hooksPath .githooks
+
+# Deploy dotfiles
+apply:
+ chezmoi apply