claude-code - 💡(How to fix) Fix [FEATURE] ! shell mode: filesystem tab completion

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

When typing ! in an interactive Claude Code session, Tab only completes from command history. Filesystem completion (paths, directories, filenames) does not work, unlike a regular terminal.

Proposed Solution

Tab after ! should behave like a normal shell prompt. The input handler for ! mode could delegate Tab keypresses to the same completion engine that already powers @ file path completion.

Alternative Solutions

N/A - the @ completion infrastructure already exists in Claude Code, so this is an extension of existing behavior rather than a new system.

Priority

Low - Nice to have

Feature Category

CLI commands and flags

Use Case Example

! cat src/com<Tab> → src/components/ ! ls ~/Do<Tab> → ~/Documents/ ~/Downloads/ ! git diff src/<Tab> → src/index.ts src/utils.ts ! cd ../pro<Tab> → ../project-name/

Additional Context

Related: #40503 (Tab completion for CLI flags - different scope, outside the session). The @ prefix already supports Tab path completion inside sessions, so the mechanism is in place.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING