[BUG] Claude's "Bash" hangs under Zsh when `CLOBBER` is unset

Resolved 💬 4 comments Opened Mar 11, 2025 by bkudria Closed Mar 12, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.36
  • Operating System: macOS 15.3.1
  • Terminal: iTerm2 3.5.11
  • Shell: zsh 5.9

Bug Description

If I unsetopt CLOBBER, claude hangs when it or I run commands.

Steps to Reproduce

  1. zsh
  2. unsetopt CLOBBER
  3. claude
  4. Try running a command, e.g. "! ls"

Expected Behavior

The command runs

Actual Behavior

The command hangs, and must be interrupted.

Additional Context

Zsh's CLOBBER option)

!Image

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗