You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
In some cases Claude Code suggests a command you can run to delete a folder: rm -rf on Linux and macOS, or rmdir /s /q on Windows. It now checks the path first. If the path contains characters that a terminal or shell may change, Claude Code gives no command. It explains that no command is given for that reason and tells you to delete the item yourself. A shell is the program that reads and runs typed commands. Paths without such characters still get the usual command.
Why
A delete command built from an unusual path can do something different from what it appears to do once a shell reads it. Leaving the command out means you cannot accidentally paste and run a dangerous delete.