aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-10-26 16:26:31 +0900
committernsfisis <nsfisis@gmail.com>2025-10-26 16:26:31 +0900
commit219cd2d88d334cbd2fb49528455aadf9170b5bee (patch)
tree813189aca8c5872ba6e3258c05653220ab1f8a1f
parent1197259ab21dcb3a1df99eff3929fa240598979c (diff)
downloaddotfiles-219cd2d88d334cbd2fb49528455aadf9170b5bee.tar.gz
dotfiles-219cd2d88d334cbd2fb49528455aadf9170b5bee.tar.zst
dotfiles-219cd2d88d334cbd2fb49528455aadf9170b5bee.zip
claude: deny sudo, su, and rm
-rw-r--r--.config/claude/settings.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/claude/settings.json b/.config/claude/settings.json
index dfc13c3..601bb0d 100644
--- a/.config/claude/settings.json
+++ b/.config/claude/settings.json
@@ -17,7 +17,10 @@
"Bash(tree:*)"
],
"deny": [
- "Bash(git push:*)"
+ "Bash(git push:*)",
+ "Bash(rm:*)",
+ "Bash(su:*)",
+ "Bash(sudo:*)"
]
},
"statusLine": {