[BUG] Hallucinated user in /Users directory while using /statusline

Resolved 💬 2 comments Opened Mar 12, 2026 by brendanfmartin Closed Mar 12, 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?

I attempted to use the /statusline feature and got a hallucinated user path.

statusline-setup(Configure statusline from PS1)
  ⎿  Read(/Users/<MYFIRSTNAME><RANDOMLASTNAME>i/.bashrc)

What Should Happen?

Not showing someone else's name as a user

Error Messages/Logs

Steps to Reproduce

/statusline

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.74 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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