feat(git): use tracked git hooks (#40)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/40
This commit is contained in:
Victor Westerlund 2025-09-14 12:09:13 +02:00
parent 69bd6e9a5c
commit 1df5fa5618

View file

@ -1,4 +1,4 @@
install: dotfiles
install: dotfiles git-hooks
# Install dotfiles in users home directory
dotfiles:
@ -8,3 +8,7 @@ dotfiles:
else \
echo "Dotfiles already installed or folder is missing"; \
fi
# Use tracked git hooks
git-hooks:
git config --local core.hooksPath .local/share/git/hooks