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 /bin/__claude-code-block-bash-tool | |
| parent | bc51d43683af248701308bc0e17cfe8d270ff8e1 (diff) | |
| download | dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.gz dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.tar.zst dotfiles-491d9302662e0e8dbaac9db3406139d89df14bdd.zip | |
claude: __claude-code-block-bash-tool
Diffstat (limited to 'bin/__claude-code-block-bash-tool')
| -rw-r--r-- | bin/__claude-code-block-bash-tool | 8 |
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 |
