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 ·

Shell snapshot copes when printf has been redefined

In some shells, Claude Code now saves its shell snapshot lines another way and uses the built-in printf when yours is redefined

You'll notice Bug Fixes
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.333,
Bug FixesSection of the release
What

Claude Code saves a snapshot of your shell's setup so the commands it runs see the same environment you do. In some shells it now writes the snapshot lines with cat <<< instead of the method it used before. If printf has been redefined as a shell function, it calls \printf, which skips your redefinition. Other shells keep the old method.

Why

If you have replaced printf with your own shell function, the snapshot is less likely to break because of it.

See this entry in the whole of v2.1.333 →

Feedback