claude-code
claude-code copied to clipboard
[BUG] My user name is dennis but CC keeps thinking my name is debian (linux distro)
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
- Open a chat
- Ask for general task that includes grepping some files
- 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