[BUG] Underscore in shell functions broken

Resolved 💬 1 comment Opened Jun 3, 2026 by sonewman Closed Jul 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Apparently this was fixed...
https://github.com/anthropics/claude-code/issues/60397

What Should Happen?

It should not show this error ... constantly

Error Messages/Logs

<img width="517" height="136" alt="Image" src="https://github.com/user-attachments/assets/06eae30e-b20f-46cf-9d3d-25d3d308e4f0" />

Steps to Reproduce

listed in other tickets, i believe this is the one that is primarily affecting me https://github.com/anthropics/claude-code/issues/47792

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.161

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗