We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4faac commit cf63216Copy full SHA for cf63216
1 file changed
.claude/settings.json
@@ -5,7 +5,12 @@
5
"PostToolUse": [
6
{
7
"matcher": "Edit|Write",
8
- "command": "file=\"$CLAUDE_FILE_PATH\"; if [ -n \"$file\" ] && echo \"$file\" | grep -q '\\.sh$'; then shellcheck -x \"$file\" 2>&1 | head -20; fi"
+ "hooks": [
9
+ {
10
+ "type": "command",
11
+ "command": "file=\"$CLAUDE_FILE_PATH\"; if [ -n \"$file\" ] && echo \"$file\" | grep -q '\\.sh$'; then shellcheck -x \"$file\" 2>&1 | head -20; fi"
12
+ }
13
+ ]
14
}
15
]
16
0 commit comments