652 B
652 B
Xontrib-avox
This is a way to activate new environments and unactivate environments as you cd around projects. This is a lot more useful than conda as it treats projects as directories (similar to how obsidian works) .
Example:
- setting a project as
$PROJECT_DIRS = [p'~/code']
- setting a project directory as
~/code/spam
avox
then will use the venv name asspam
Installation
pip install xontrib-avox
or just clone the original repo with pip.
Configuration
You must configure $PROJECT_DIRS
by:
$PROJECT_DIRS = ["~/code"]