Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than 93551dd point at it.

Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd

lines 1–13why, one step back
1$ completion
2============34Demonstrates Click's shell completion support.56.. code-block:: bash78 pip install --editable .910For Bash:1112.. code-block:: bash13

Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd

line 14why, one step back
14 eval "$(_COMPLETION_COMPLETE=bash_source completion)"

Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd

lines 15–19why, one step back
15
16For Zsh:1718.. code-block:: zsh19

Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd

line 20why, one step back
20 eval "$(_COMPLETION_COMPLETE=zsh_source completion)"

Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd

lines 21–25why, one step back
21
22For Fish:2324.. code-block:: fish25

Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoptionce152bd

line 26why, one step back
26 eval (env _COMPLETION_COMPLETE=fish_source completion)

Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd

lines 27–28why, one step back
27
28Now press tab (maybe twice) after typing something to see completions.

switch to flit build backend (#2543)David Lordbefore adoption3fcf338

lines 29–33why, one step back
29
30.. code-block:: python3132 $ completion <TAB> <TAB>33 $ completion gr <TAB> <TAB>