Setting up bash completion¶
If you use bash as your shell, benchmarkstt and benchmarkstt-tools can use argcomplete for auto-completion.
For this argcomplete needs to be installed and enabled.
Installing argcomplete¶
Install argcomplete using:
python3 -m pip install argcomplete
For global activation of all argcomplete enabled python applications, run:
activate-global-python-argcomplete
Alternative argcomplete configuration¶
For permanent (but not global)
benchmarksttactivation, use:register-python-argcomplete benchmarkstt >> ~/.bashrc register-python-argcomplete benchmarkstt-tools >> ~/.bashrc
For one-time activation of argcomplete for
benchmarksttonly, use:eval "$(register-python-argcomplete benchmarkstt; register-python-argcomplete benchmarkstt-tools)"