mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-16 01:56:45 +08:00
autoenv: look in additional installation locations, redo logic
Fixes #4681 Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
1 parent
610b2529d2
commit
58e38155fc
2 files changed
+51
-17
No files matched your search
@@ -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).
|
||||
Reference in new issue
Block a user