README.md 913 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pip plugin

This plugin adds completion for [pip](https://pip.pypa.io/en/latest/),
the Python package manager.

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

```zsh
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`.
20
21
22
23
24
25
26
27
28

## Aliases

| Alias    | Description                                   |
| :------- | :-------------------------------------------- |
| pipreq   | Create requirements file                      |
| pipir    | Install packages from `requirements.txt` file |
| pipupall | Update all installed packages                 |
| pipunall | Uninstall all installed packages              |