mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 01:12:42 +01:00
feat(git): use tracked git hooks (#40)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/40
This commit is contained in:
parent
69bd6e9a5c
commit
1df5fa5618
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue