As per their email ‘Changes to project subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified. One was not modified - `http://media.readthedocs.org/epub/pytest/latest/pytest.epub` - since it doesn't work on `readthedocs.io`.
29 lines
701 B
ReStructuredText
29 lines
701 B
ReStructuredText
|
|
.. _bash_completion:
|
|
|
|
Setting up bash completion
|
|
==========================
|
|
|
|
When using bash as your shell, ``pytest`` can use argcomplete
|
|
(https://argcomplete.readthedocs.io/) for auto-completion.
|
|
For this ``argcomplete`` needs to be installed **and** enabled.
|
|
|
|
Install argcomplete using::
|
|
|
|
sudo pip install 'argcomplete>=0.5.7'
|
|
|
|
For global activation of all argcomplete enabled python applications run::
|
|
|
|
sudo activate-global-python-argcomplete
|
|
|
|
For permanent (but not global) ``pytest`` activation, use::
|
|
|
|
register-python-argcomplete py.test >> ~/.bashrc
|
|
|
|
For one-time activation of argcomplete for ``pytest`` only, use::
|
|
|
|
eval "$(register-python-argcomplete py.test)"
|
|
|
|
|
|
|