aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-04 22:57:11 +0900
committernsfisis <nsfisis@gmail.com>2026-05-04 22:57:11 +0900
commit491d9302662e0e8dbaac9db3406139d89df14bdd (patch)
tree721f18b4b7ef62fd8611e79b4288f6bac1ee29fd /bin
parentbc51d43683af248701308bc0e17cfe8d270ff8e1 (diff)
downloaddotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.gz
dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.zst
dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.zip
claude: __claude-code-block-bash-tool
Diffstat (limited to 'bin')
-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