{"version":"2.0.10","anchor":"shell-completion-support","canonical_anchor":"shell-completion-support","heading":"Shell Completion Support","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.10\/e\/shell-completion-support","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.10","markdown":"### Shell Completion Support\n\n**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:\n\n- Commands (e.g., `git st` \u2192 `git status`)\n- Files and directories (with trailing `\/` for directories)\n- Shell variables (for inputs starting with `$`)\n\n**Details:**\n\n- Automatically detects your shell type (bash or zsh) from `$SHELL` environment variable\n- Context-aware completion: determines whether you're typing a command, file path, or variable based on cursor position\n- Bash completion uses `compgen -c` (commands), `compgen -f` (files), `compgen -v` (variables)\n- Zsh completion uses native zsh parameter and command arrays\n- Limited to 100 suggestions per request for performance\n- **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"}