claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] My user name is dennis but CC keeps thinking my name is debian (linux distro)

Open dejoma opened this issue 6 months ago • 0 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version:
  • Operating System:
  • Terminal:

Bug Description

It keeps thinking my username is debian instead of dennis, and thus it greps wrong directories in the middle of conversations. This is very odd since we are inside the repository at /users/dennis/some/repo/file.py

Steps to Reproduce

  1. Open a chat
  2. Ask for general task that includes grepping some files
  3. Say welcome to your new alter-ego

Expected Behavior

To never forget what directory your repository is in; E.g. It should always now that it cannot grep a folder outside the current code repo folder.

Actual Behavior

It started running bash commands on a non-existing directory /users/debian/some/repo/file.py

Additional Context

dejoma avatar Jun 25 '25 07:06 dejoma