https://github.com/pawnhearts/venvs
zsh plugin to automatically switch python virtual environments
https://github.com/pawnhearts/venvs
Last synced: 2 months ago
JSON representation
zsh plugin to automatically switch python virtual environments
- Host: GitHub
- URL: https://github.com/pawnhearts/venvs
- Owner: pawnhearts
- License: other
- Created: 2020-10-29T13:56:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-29T19:03:09.000Z (7 months ago)
- Last Synced: 2025-08-19T03:35:27.762Z (4 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-zsh-plugins - venvs - Automatically switches Python virtualenvs. Supports both venvs in project folder(`~/myproject/venv`) and in global folder (like `~/.virtualenvs`) (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - venvs - Automatically switches Python virtualenvs. Supports both venvs in project folder(`~/myproject/venv`) and in global folder (like `~/.virtualenvs`) (Plugins / ZSH on Windows)
- trackawesomelist - venvs (⭐1) - Automatically switches Python virtualenvs. Supports both venvs in project folder(`~/myproject/venv`) and in global folder(like `~/.virtualenvs`) (Recently Updated / [May 03, 2025](/content/2025/05/03/README.md))
README
Automatically switches virtualenvs. Supports both venvs in project folder(~/myproject/venv) and in global folder(like ~/.virtualenvs)
Installation in oh-my-zsh
```
git clone "https://github.com/pawnhearts/venvs.git" "$ZSH_CUSTOM/plugins/venvs"
```
Then add venvs to plugins in .zshrc
Configuration variables(add to .zshrc)
```
export VENVS_DIR="~/.virtualenvs"
export USE_DOTENV=""
```
Don't use dotenv feature - use specialized zsh plugin. It was a quick hack and unsafe.