1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-11 15:33:41 +08:00
ohmyzsh/plugins/pip
2022-12-09 10:07:52 +01:00
..
_pip fix(pip): use pip3 in pip3 uninstall completion (#10271) 2021-12-29 12:26:17 +01:00
pip.plugin.zsh feat(pip): add several aliases (#10647) 2022-12-09 10:07:52 +01:00
README.md feat(pip): add several aliases (#10647) 2022-12-09 10:07:52 +01:00

pip plugin

This plugin adds completion for pip,
the Python package manager.

To use it, add pip to the plugins array in your zshrc file:

plugins=(... pip)

pip cache

The pip plugin caches the names of available pip packages from the PyPI index.
To trigger the caching process, try to complete pip install,
or you can run zsh-pip-cache-packages directly.

To reset the cache, run zsh-pip-clear-cache and it will be rebuilt next
the next time you autocomplete pip install.

Aliases

Alias Description
pipi Install packages
pipig Install package from GitHub repository
pipigb Install package from GitHub branch
pipigp Install package from GitHub pull request
pipu Upgrade packages
pipun Uninstall packages
pipgi Grep through installed packages
piplo List outdated packages
pipreq Create requirements file
pipir Install packages from requirements.txt file
pipupall Update all installed packages
pipunall Uninstall all installed packages