Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.315 ·

Shell functions whose names start with - or + now survive the shell snapshot

Claude Code's copy of your shell setup now handles functions whose names begin with a minus or plus sign

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

Claude Code takes a snapshot of your shell setup, such as the functions you have defined, so that commands it runs behave as they do in your own terminal. Functions whose names start with - or + are now restored correctly. The shell's declare command reads a name like that as an option, and the snapshot now accounts for this.

Why

If you have functions named this way, they no longer break the snapshot.

See this entry in the whole of v2.1.315 →

Feedback