Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.10 Home All releases olderv2.0.9 v2.0.11newer
Claude Code v2.0.10

Shell Completion Support

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 stgit 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 →