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.0.57 ·

Shell Extended Glob Disabling

Entry
JSON All of v2.0.57
EntryKind: in v2.0.57,
ChangesSection of the release

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 →

Feedback