2019-10-01 18:56:41 +08:00
|
|
|
# Autoenv plugin
|
|
|
|
|
|
|
|
This plugin loads the [Autoenv](https://github.com/inishchith/autoenv).
|
|
|
|
|
|
|
|
To use it, add `autoenv` to the plugins array in your zshrc file:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
plugins=(... autoenv)
|
|
|
|
```
|
2015-12-19 07:45:17 +08:00
|
|
|
|
|
|
|
## Functions
|
|
|
|
|
|
|
|
* `use_env()`: creates and/or activates a virtualenv. For use in `.env` files.
|
|
|
|
See the source code for details.
|
|
|
|
|
2019-10-01 18:56:41 +08:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
In order to make this work, you will need to have the autoenv installed.
|
|
|
|
|
2015-12-19 07:45:17 +08:00
|
|
|
More info on the usage and install at [the project's homepage](https://github.com/inishchith/autoenv).
|