What's wrong with this entry?
Anonymous. No account, no email.
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
$SHELLenvironment 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