diff options
| -rw-r--r-- | .chezmoiignore | 2 | ||||
| -rwxr-xr-x | .githooks/post-commit | 2 | ||||
| -rw-r--r-- | justfile | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/.chezmoiignore b/.chezmoiignore index 82bbeb2..2cde505 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -7,3 +7,5 @@ create-efi.sh meta/ etc/ firefox/ +justfile +.githooks/ diff --git a/.githooks/post-commit b/.githooks/post-commit new file mode 100755 index 0000000..83acb4f --- /dev/null +++ b/.githooks/post-commit @@ -0,0 +1,2 @@ +#!/bin/sh +chezmoi apply 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 |
