[Bug] Command autocomplete matches partial prefix instead of exact match

Resolved 💬 4 comments Opened Jan 18, 2026 by progressions Closed Feb 28, 2026

Bug Description
I have a command called /cleanup, but when i type /clear it selects /cleanup first, I don't know why. I typed the full word /clear.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.12
  • Feedback ID: 97651c1e-f9b9-4354-a287-5ecf3728659a

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/isaacpriestley/.local/share/claude/versions/2.1.12 (expected in multi-process scenarios)\n    at fFA (/$bunfs/root/claude:3279:2091)\n    at nTL (/$bunfs/root/claude:3279:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-18T16:06:21.408Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:5435:6413)","timestamp":"2026-01-18T16:06:24.358Z"},{"error":"Error: No tabs available. Please open a new tab or window in Chrome.\n    at FyE (/$bunfs/root/claude:1207:16500)\n    at async call (/$bunfs/root/claude:1207:30077)\n    at async kd0 (/$bunfs/root/claude:2642:19684)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-18T16:18:18.123Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:884:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-18T16:19:53.349Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:884:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-18T16:24:47.894Z"}]

View original on GitHub ↗

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