[BUG] `@` file completion results in space after file name when pressing Tab or Enter
Resolved 💬 6 comments Opened Aug 26, 2025 by jgspratt Closed Jan 6, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [X] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.90
- Operating System: 5.10.220-209.869.amzn2.x86_64
- Terminal: VSCode
Bug Description
I want to select a file a few levels deep using @, so I type @.clau and then press Enter. Instead of getting @.claude/ I get @.claude/ (note the final (space) character), and I am unable to then type set<Enter> and get @.claude/settings.json--instead, I have to press Backspace after pressing the first Enter and then continue typing set....
Steps to Reproduce
- Ensure a file at
.claude/settings.jsonexists - Type
@.clau<Enter>
Expected Behavior
CLI should show @.claude/ and offer a list of files inside the .claude dir.
Actual Behavior
CLI shows @.claude/ (note the final (space)) and no list of files to select from. User must press Backspace to get back to the file listing options. The user must press Backspace after every single completion using either Enter or Tab.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗