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

  1. Open Claude Code in any directory
  2. Type ~/ followed by the first few characters of a known directory in your home folder
  3. Press Tab
  4. Expected: Path completes to the matching directory/file
  5. Actual: No completion offered

Same behavior observed with checkpoints/ — no completion for files within the directory.

Environment

  • macOS (Darwin 23.6.0)
  • Shell: zsh

View original on GitHub ↗

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