[Bug] Bash Mode: Tab Completion Broken, Triggers Thinking Mode

Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Oct 3, 2025 · closed Oct 14, 2025

Bug Description
When using ! (bash mode), tab turns on thinking mode instead of doing path completion.

What's wrong
When pressing ! at the start of the line, it turns into Bash Mode, when I want to use a long command like "claude-session-uuid", I type cl<tab> it doesn't update the command to claude (nearest match) and instead turns on Thinking mode.

What should happen
Thinking mode toggle should be turned off in bash mode, it should complete using bash-completion or similar.

Steps to Reproduce

  1. Press ! to get the pink Bash Mode prompt.
  2. Type clau
  3. Press <tab>
  4. Thinking mode turns, clau isn't completed to claude

Claude Code Version
v2.0.5

Operating System
Linux (ArchLinux)

Terminal/Shell
Kitty / Bash

View original on GitHub ↗

5 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/8469
  2. https://github.com/anthropics/claude-code/issues/8399
  3. https://github.com/anthropics/claude-code/issues/7715

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

ticpu · 1 year ago

I see there are many complaints about tab completion in normal prompts but couldn't find any related to Bash Mode.

eubanks-dev · 1 year ago

I'm experiencing this as well in iTerm on Mac OS

ticpu · 1 year ago

Fixed in 2.0.15.

github-actions[bot] · 11 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.