scatterd-dotfiles/git_template/hooks/post-checkout
Chris Toomey 6fc3482610 Use POSIX compliant test command in git hooks
Ubuntu systems will error out on `[[` in shell scripts with `#!/bin/sh`
as the shebang.
2014-11-03 20:26:48 -05:00

6 lines
146 B
Bash
Executable file

#!/bin/sh
local_hook="$HOME"/.git_template.local/hooks/post-checkout
[ -f "$local_hook" ] && . "$local_hook"
.git/hooks/ctags >/dev/null 2>&1 &