Skip to content
← Back to release · 2.1.281
Bug fixes / v2.1.281

Prompt for command-substitution rm targets

CHANGELOG · original

Fixed a recursive rm whose target is only command-substitution output, such as rm -rf "$(pwd)", running unprompted in auto and --dangerously-skip-permissions mode; it now asks even with a Bash allow rule, unless run with CLAUDE_CODE_DISABLE_SUBSTITUTION_RM_PROMPT=1
Open official changelog ↗

Related documentation

Background on the feature; see the changelog above for this specific change.

Change details