Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.57 Home All releases olderv2.0.56 v2.0.58newer
Claude Code v2.0.57

Shell Extended Glob Disabling

What: Automatically disables extended glob patterns in bash and zsh before executing commands to prevent unexpected shell expansion.

How to use:

# Runs automatically - no user action needed
# Before your command executes, Claude Code now runs:
# Bash: shopt -u extglob
# Zsh: setopt NO_EXTENDED_GLOB

Details:

  • Prevents patterns like !(pattern), +(pattern), *(pattern) from expanding
  • Only applies to bash and zsh shells
  • Errors are silently suppressed to avoid breaking command execution
  • Evidence: New function NO6() at line 244643, integrated at line 244719

See this entry in the whole of v2.0.57 →