13 lines
227 B
JSON
13 lines
227 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "bash",
|
|
"hooks": [
|
|
{ "type": "command", "command": "echo 'bash is disabled by policy in this session' >&2; exit 2" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|