dotfiles/dot_scripts/configure_git_hooks.sh
MorganGeek 228982a0a8 add linters and refactor bootstraping scripts
- giant refactoring
- add aliases and functions to ease work
- apply linters / fixers / fmt to most files
2020-07-11 12:31:06 +02:00

7 lines
178 B
Bash

#!/usr/bin/env bash
# Copy pre-commit hooks
cd ~/Code/dotfiles || exit
git config --global init.templateDir ~/.git-template
pre-commit init-templatedir ~/.git-template
copyhooks