aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/__claude-code-block-bash-tool
diff options
context:
space:
mode:
Diffstat (limited to 'bin/__claude-code-block-bash-tool')
-rw-r--r--bin/__claude-code-block-bash-tool8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/__claude-code-block-bash-tool b/bin/__claude-code-block-bash-tool
new file mode 100644
index 0000000..b95771f
--- /dev/null
+++ b/bin/__claude-code-block-bash-tool
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+case "$1" in
+ rm)
+ echo "The command 'rm' is denied. Use 'git rm' if the file or the directory is tracked by git. If not, request deletion to user.";;
+esac
+
+exit 2