← Back to context

Comment by CjHuber

1 day ago

I remember seeing on twitter how Claude 4 Sonnet tried to run rm -r ~ for some reason within cursor. It could have been a meme potentially, but from my experience this doesn’t seem to be to far off as it does weird things for weird reasons sometimes

It was because it had created a directory named "~" and then tried to remove it, which Bash would of course interpret as the actual home directory