diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 22:57:11 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 22:57:11 +0900 |
| commit | 491d9302662e0e8dbaac9db3406139d89df14bdd (patch) | |
| tree | 721f18b4b7ef62fd8611e79b4288f6bac1ee29fd /.config | |
| parent | bc51d43683af248701308bc0e17cfe8d270ff8e1 (diff) | |
| download | dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.gz dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.zst dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.zip | |
claude: __claude-code-block-bash-tool
Diffstat (limited to '.config')
| -rw-r--r-- | .config/claude/settings.json | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.config/claude/settings.json b/.config/claude/settings.json index 98d819f..1dc9b1e 100644 --- a/.config/claude/settings.json +++ b/.config/claude/settings.json @@ -15,7 +15,8 @@ "Bash(rg:*)", "Bash(touch:*)", "Bash(tree:*)", - "Bash(wc:*)" + "Bash(wc:*)", + "Skill(conventional-commit)" ], "deny": [ "Bash(git push:*)", @@ -27,6 +28,18 @@ "disableBypassPermissionsMode": "disable" }, "hooks": { + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "__claude-code-block-bash-tool rm", + "if": "Bash(rm *)" + } + ] + } + ], "Notification": [ { "hooks": [ |
