Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Shell snapshot records shell options before functions

Shell snapshots now restore functions that use extglob or globstar syntax correctly.

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

The bash snapshot now writes a shopt section, produced by shopt -p, ahead of the function dump. A function body using extglob or globstar syntax only re-parses correctly if the option is already switched on, so functions relying on those previously failed to restore. A duplicated shell-options echo was removed.

Evidence

# shopt before functions: a body using extglob/globstar syntax only

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →

Feedback