diff --git a/Makefile b/Makefile index 13f4d73..18ef70c 100644 --- a/Makefile +++ b/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