Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.10 ·

Shell Completion Support

Entry
JSON All of v2.0.10
EntryKind: in v2.0.10,
ChangesSection of the release

What: Added intelligent tab-completion for bash and zsh shells when typing commands in the Bash tool How to use: While typing a command in the Bash tool, press Tab to see completion suggestions for:

  • Commands (e.g., git st → git status)
  • Files and directories (with trailing / for directories)
  • Shell variables (for inputs starting with $)

Details:

  • Automatically detects your shell type (bash or zsh) from $SHELL environment variable
  • Context-aware completion: determines whether you're typing a command, file path, or variable based on cursor position
  • Bash completion uses compgen -c (commands), compgen -f (files), compgen -v (variables)
  • Zsh completion uses native zsh parameter and command arrays
  • Limited to 100 suggestions per request for performance
  • Evidence: M0Q() at line 420086, wn5() at line 420018, qn5() at line 420051, En5() at line 420059, Nn5() at line 420067 in v2.0.10

See this entry in the whole of v2.0.10 →

Feedback