fix: Add matcher to SessionEnd hook
- Added matcher: "*" (required for plugin hooks) - Added "bash" prefix to command - This should fix the hook not triggering on /exit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,10 +3,11 @@
|
|||||||
"hooks": {
|
"hooks": {
|
||||||
"SessionEnd": [
|
"SessionEnd": [
|
||||||
{
|
{
|
||||||
|
"matcher": "*",
|
||||||
"hooks": [
|
"hooks": [
|
||||||
{
|
{
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-end-reminder.sh",
|
"command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/session-end-reminder.sh",
|
||||||
"timeout": 5
|
"timeout": 5
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user