Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alpb
· 8mo ago · 0 comments
I see on a daily basis that I prevent Claude Code from running a particular command using PreToolUse hooks, and it proceeds to work around it by writing a bash script with the forbidden command and chmod+x and running it. /facepalm
Comments
[–]
Aeolun
8mo ago
Maybe that means you need to change the text that comes out of the pre hook?