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 ·

Search commands and the shell environment get new, switched-off-by-default changes

New behind-a-switch changes add a zsh exit-code wrapper for searches, a warning for searches over other apps' Library data, and an environment check

Nothing to try yet In Development
JSON All of v2.1.333
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
In DevelopmentKind: in v2.1.333,
In DevelopmentSection of the release

Unclear It is not known whether any of the three switches is on when the server sends nothing.

What

Claude Code runs commands in a shell, the command-line program on your computer. This release adds three changes to how it sets that up, each behind its own switch that Anthropic's servers control:

  • Search commands: new shell functions for grep and find (the usual tools for searching files) include a wrapper, for the zsh shell only, that handles the code a command returns when it finishes.
  • Library warning: a check warns when a search would cover data that other apps keep under ~/Library.
  • Environment check: Claude Code can inspect the environment (the set of named values, called environment variables, that programs start with) that a started command would receive, once with Claude Code's own agent variables and once without.

The setting CLAUDE_CODE_DONT_INHERIT_ENV now also decides whether that environment check starts from an empty environment.

Why

These change what happens in the shell where Claude runs commands, without any visible setting. The ~/Library warning in particular can stop a search from reading other apps' data.

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 doubtIt is not known whether any of the three switches is on when the server sends nothing.

See this entry in the whole of v2.1.333 →

Feedback