README
This file
Path
examples/completion/README
33 lines · 558 bytes
Last changed by
switch to flit build backend (#2543)David Lordbefore adoption3fcf338
History of this fileTake it
The walk stopped after 200 commits: lines older than 98e471f point at it.
Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f
lines 1–13why, one step back1$ completion2============34Demonstrates Click's shell completion support.56.. code-block:: bash78 pip install --editable .910For Bash:1112.. code-block:: bash13Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd
line 14why, one step back14 eval "$(_COMPLETION_COMPLETE=bash_source completion)"Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f
lines 15–19why, one step back1516For Zsh:1718.. code-block:: zsh19Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd
line 20why, one step back20 eval "$(_COMPLETION_COMPLETE=zsh_source completion)"Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f
lines 21–25why, one step back2122For Fish:2324.. code-block:: fish25Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd
line 26why, one step back26 eval (env _COMPLETION_COMPLETE=fish_source completion)Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f
lines 27–28why, one step back2728Now press tab (maybe twice) after typing something to see completions.switch to flit build backend (#2543)David Lordbefore adoption3fcf338
lines 29–33why, one step back2930.. code-block:: python3132 $ completion <TAB> <TAB>33 $ completion gr <TAB> <TAB>