diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-11-19 02:50:12 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-11-26 13:50:39 +1100 |
| commit | 4633d2a0374f79c3306e60b603377606664e8a24 (patch) | |
| tree | 84000a92b293b3c0243cc278c8153c7b699a13ed /docs/develop | |
| parent | d1caa9df07d07a9c2897d106fe5fb7f4b595203e (diff) | |
tools/ci.sh: Add zsh and fish shell completion support.
This commit adds custom command completion functions for both the zsh
and fish shell.
The behaviour for those new completions follow the existing completion
for the bash shell, including the way to generate the completion alias
(with appropriately named command line switches).
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/develop')
| -rw-r--r-- | docs/develop/gettingstarted.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/develop/gettingstarted.rst b/docs/develop/gettingstarted.rst index cb479458e..a6afc5cad 100644 --- a/docs/develop/gettingstarted.rst +++ b/docs/develop/gettingstarted.rst @@ -338,7 +338,15 @@ If you use the bash shell, you can add a ``ci`` command with tab completion: .. code-block:: bash - $ eval `tools/ci.sh --bash-completion` + $ eval $(tools/ci.sh --bash-completion) + +For the zsh shell, replace ``--bash-completion`` with ``--zsh-completion``. +For the fish shell, replace ``--bash-completion`` with ``--fish-completion``. + +Then, typing: + +.. code-block:: bash + $ ci unix_cov<tab> This will complete the ci step name to ``unix_coverage_``. |
