mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 04:44:04 +08:00
079dbff2c4
Closes #11472
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
# Pipenv
|
|
|
|
## Installation
|
|
|
|
In your `.zshrc` file, add `pipenv` to the plugins section
|
|
|
|
```
|
|
plugins=(... pipenv ...)
|
|
```
|
|
|
|
## Features
|
|
|
|
This plugin provides some features to simplify the use of Pipenv while working on ZSH.
|
|
|
|
- Adds completion for pipenv
|
|
- Auto activates and deactivates pipenv shell
|
|
- Adds short aliases for common pipenv commands
|
|
- `pch` is aliased to `pipenv check`
|
|
- `pcl` is aliased to `pipenv clean`
|
|
- `pgr` is aliased to `pipenv graph`
|
|
- `pi` is aliased to `pipenv install`
|
|
- `pidev` is aliased to `pipenv install --dev`
|
|
- `pl` is aliased to `pipenv lock`
|
|
- `po` is aliased to `pipenv open`
|
|
- `prun` is aliased to `pipenv run`
|
|
- `psh` is aliased to `pipenv shell`
|
|
- `psy` is aliased to `pipenv sync`
|
|
- `pu` is aliased to `pipenv uninstall`
|
|
- `pupd` is aliased to `pipenv update`
|
|
- `pwh` is aliased to `pipenv --where`
|
|
- `pvenv` is aliased to `pipenv --venv`
|
|
- `ppy` is aliased to `pipenv --py`
|
|
|
|
## Configuration
|
|
|
|
### Shell activation
|
|
|
|
If you want to disable the shell activation and deactivation feature, add the following style to your `.zshrc` before sourcing `oh-my-zsh.sh`:
|
|
|
|
```zsh
|
|
zstyle ':omz:plugins:pipenv' auto-shell no
|
|
```
|