feat: register PreToolUse hook on Bash
Author:
Chris Tusa <chris.tusa@leafscale.com>
Date:
May 03, 2026 15:25
Changeset:
d350e9491c7903a32c6eb03a6096acde80822cd2
Branch:
default
Changed files:
Diff
diff -r 69157bd15c57 -r d350e9491c79 hooks/hooks.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hooks/hooks.json Sun May 03 15:25:50 2026 -0500 @@ -0,0 +1,12 @@ +{ + "hooks": { + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/block-git-in-hg.sh" } + ] + } + ] + } +}