1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Small change to completion documentation

This commit is contained in:
Jannis Leidel 2009-11-09 17:27:35 +01:00
parent 22bef56391
commit 36d92277c5
2 changed files with 6 additions and 4 deletions

View file

@ -260,14 +260,15 @@ need copy the required shell script to the your shell startup file
(e.g. ``.profile`` or ``.zprofile``) by running the special ``completion``
command, e.g. for bash::
pip completion --bash >> ~/.profile
$ pip completion --bash >> ~/.profile
And for zsh::
pip completion --zsh >> ~/.zprofile
$ pip completion --zsh >> ~/.zprofile
Alternatively, you can use the result of the ``completion`` command
directly with the eval function of you shell, e.g. by adding to your
startup file::
directly with the eval function of you shell, e.g. by adding::
eval `pip completion --bash`
to your startup file.

1
pip.py
View file

@ -525,6 +525,7 @@ class HelpCommand(Command):
HelpCommand()
class InstallCommand(Command):
name = 'install'
usage = '%prog [OPTIONS] PACKAGE_NAMES...'