Tab completion does not work with ~ (tilde) for home directory paths
Resolved 💬 2 comments Opened Mar 17, 2026 by michaelrosesandow Closed Apr 14, 2026
Description
File path tab completion in the prompt does not expand ~ to the home directory. Typing ~/clau and pressing Tab does not complete to ~/claude-code-time/ (or any path under $HOME).
Additionally, tab completion does not seem to work for relative directory paths in some cases — e.g., typing checkpoints/ did not trigger completion for files within that directory.
Steps to Reproduce
- Open Claude Code in any directory
- Type
~/followed by the first few characters of a known directory in your home folder - Press Tab
- Expected: Path completes to the matching directory/file
- Actual: No completion offered
Same behavior observed with checkpoints/ — no completion for files within the directory.
Environment
- macOS (Darwin 23.6.0)
- Shell: zsh
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗