autoenv: look in additional installation locations, redo logic

Fixes #4681

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
Andrew Janke 2015-12-18 18:45:17 -05:00 committed by Marc Cornellà
commit 58e38155fc
2 changed files with 51 additions and 17 deletions

View file

@ -7,8 +7,14 @@ To use it, add `autoenv` to the plugins array in your zshrc file:
```zsh
plugins=(... autoenv)
```
## Functions
* `use_env()`: creates and/or activates a virtualenv. For use in `.env` files.
See the source code for details.
## Requirements
In order to make this work, you will need to have the autoenv installed.
More info on the usage and install: https://github.com/inishchith/autoenv
More info on the usage and install at [the project's homepage](https://github.com/inishchith/autoenv).