From 491d9302662e0e8dbaac9db3406139d89df14bdd Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 4 May 2026 22:57:11 +0900 Subject: claude: __claude-code-block-bash-tool --- bin/__claude-code-block-bash-tool | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 bin/__claude-code-block-bash-tool (limited to 'bin') 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 -- cgit v1.3.1