Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Bash commands starting with a variable are matched only on one line

The check that flags shell commands beginning with a $ variable no longer looks across line breaks

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear Whether this makes Claude Code ask for permission more often or less often in practice is not stated.

What

Claude Code inspects shell commands before it runs them to decide whether a command needs closer checking or your permission. One check looks for a command that begins with a $ variable, which is a value the shell fills in when the command runs. That check used to allow line breaks in the gap before the $. It now only allows spaces and tabs on the same line.

Why

This changes which commands this check flags for extra checking. A $ that appears only after a line break is no longer treated as the start of the command by this check.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether this makes Claude Code ask for permission more often or less often in practice is not stated.

See this entry in the whole of v2.1.333 →

Feedback