[Bug] File fuzzy matcher incomplete suggestions for nested directories with @ prefix

Resolved 💬 3 comments Opened Nov 9, 2025 by rureirureirurei Closed Jan 11, 2026

Bug Description
First of all, thanks for awesome tool.

When typing @ I expect fuzzy file matcher to show up, but at the moment only files in top level dir appear for suggestion.
The issue seems to be related to the fact the macbooks use 16k pages and the bundled ripgrep was compiled with standard 4k pages.

One can resolve this issue by setting USE_BUILTIN_RIPGREP env variable to 0. Nevertheless, I think the UX for handling such edge case could be better.

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 2.0.36
  • Feedback ID: bf24484c-da44-48f3-a9f4-460ba9ab80e1

Errors

[{"error":"Error: getaddrinfo EAI_AGAIN api.anthropic.com\n    at be.from (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:38:20111)\n    at cE.<anonymous> (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:10009)\n    at cE.emit (node:events:518:28)\n    at cE.emit (node:domain:489:12)\n    at M81.<computed> (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:55:1117)\n    at ClientRequest.emit (node:events:518:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at emitErrorEvent (node:_http_client:104:11)\n    at TLSSocket.socketErrorListener (node:_http_client:518:5)\n    at TLSSocket.emit (node:events:518:28)\n    at sGA.request (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:58:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async ft2 (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3771:7832)","timestamp":"2025-11-08T11:17:20.076Z"},{"error":"Error: Command failed: /home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-linux/rg --files --hidden /home/denys/datuum\n<jemalloc>: Unsupported system page size\n<jemalloc>: Unsupported system page size\nmemory allocation of 160 bytes failed\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:414:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:304:5)","timestamp":"2025-11-08T11:17:20.117Z"},{"error":"Error: Command failed: /home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-linux/rg --files --hidden --follow --no-ignore --glob *.md /home/denys/.claude/agents\n<jemalloc>: Unsupported system page size\n<jemalloc>: Unsupported system page size\nmemory allocation of 160 bytes failed\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:414:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:304:5)","timestamp":"2025-11-08T11:17:20.121Z"},{"error":"Error: Command failed: /home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-linux/rg --files --hidden --follow --no-ignore --glob *.md /home/denys/.claude/agents\n<jemalloc>: Unsupported system page size\n<jemalloc>: Unsupported system page size\nmemory allocation of 160 bytes failed\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:414:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at Socket.<anonymous> (node:internal/child_process:456:11)\n    at Socket.emit (node:events:518:28)\n    at Socket.emit (node:domain:489:12)\n    at Pipe.<anonymous> (node:net:351:12)","timestamp":"2025-11-08T11:17:20.122Z"},{"error":"Error: Connection error.\n    at U_.makeRequest (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:707:4463)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async uKA (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1577:571)\n    at async A$A (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2458:1851)\n    at async g01 (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2458:2060)\n    at async gg2 (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2458:530)","timestamp":"2025-11-08T11:17:20.724Z"},{"error":"Error: Connection error.\n    at U_.makeRequest (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:707:4463)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Js2.wrA.model (file:///home/denys/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3512:15108)\n    

Note: Error logs were truncated.

View original on GitHub ↗

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