Add auto-tags via git hooks

This commit is contained in:
Dan Buch
2019-03-28 10:02:06 -04:00
parent 1c70d8890b
commit 7df3d4bb22
6 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -o errexit
main() {
if [[ -x .git/hooks/ctags ]]; then
.git/hooks/ctags &>/dev/null &
fi
}
main "${@}"