Rank, 14 days: 306 on the Claude Code sheet
7 people reported

All time, since Oct 17, including 6 thumbs-up on GitHub.

Bash syntax errors under zsh

“On macOS with zsh as the login shell, the Bash tool runs commands under zsh, but Claude keeps writing bash-style commands.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/18885/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Bash tool commands written in bash syntax fail under zsh. On macOS with zsh as login shell, Claude writes bash-style commands that produce (eval):N: zsh errors, often with the call still exiting 0.

Is this your bug?

File my report
Where
Bash tool
Error text
(eval):N: …
Versions
2.1.302
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports1, newest first

  1. Claude keeps writing bash syntax under zsh: 51 failures per 1,000 Bash calls, 76% silent (follow-up to #67146)#103027

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.