[BUG] /cd has no directory path autocompletion in the prompt (2.1.226)
Status Open
Reported on v2.1.226
Maintainer reply None cached
Activity 0 comments · opened Aug 18, 2026
What happened
The /cd slash command has no path autocompletion in the interactive prompt.
- I ran
/cd /Users/blhoward2/Projects/c— the directory doesn't exist, so it correctly reportedCouldn't find a directory at /Users/blhoward2/Projects/c. Expected. The first time it did list the folders as I was typing in the path. - The real problem: while typing the
/cdargument after the first failure (or ever from the agent view), there is no directory autocompletion at all. Typing/cdfollowed by a path prefix (including after a/) does not suggest or complete matching directories.
I expected /cd to offer filesystem path completion the way a shell would even after the first failure, and in the agent view. Without it, you have to type the full absolute path by hand and only find out it was wrong (typo, etc.) after submitting.
Observed vs. expected
- Observed: No autocomplete/suggestions appear for directory paths when typing a
/cdargument. Entering a slash mid-argument does not trigger path completion. - Expected: Tab / inline path completion for directories as the argument is typed, so you can navigate and correct the path before submitting.
Notes
- This also affects the agent view — starting to type
/cdthere autocompletes nothing. - Reproducible regardless of whether the typed path exists.
Version
- Claude Code 2.1.226
- Install: Homebrew (
/opt/homebrew/bin/claude) - Platform: macOS (Darwin 25.5.0)
Repro steps
- In the interactive prompt, type
/cdand begin typing a directory path (e.g./Users/you/Pro) after a prior failure to cd to a new directory. - No directory suggestions/completions appear.
- Continue past a
/— still no completion.