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 051d57c point at it.
Merge remote-tracking branch 'origin/8.0.x'David Lordbefore adoption051d57c
lines 1–28why, one step back1$ completion2============34Demonstrates Click's shell completion support.56.. code-block:: bash78 pip install --editable .910For Bash:1112.. code-block:: bash1314 eval "$(_COMPLETION_COMPLETE=bash_source completion)"1516For Zsh:1718.. code-block:: zsh1920 eval "$(_COMPLETION_COMPLETE=zsh_source completion)"2122For Fish:2324.. code-block:: fish2526 eval (env _COMPLETION_COMPLETE=fish_source completion)2728Now 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>