https://github.com/shosca/zsh-pew
Zsh plugin that sets up and manages virtualenvs using pew, automatically switches virtualenvs as you move directories
https://github.com/shosca/zsh-pew
zsh zsh-plugin zsh-plugins
Last synced: 8 months ago
JSON representation
Zsh plugin that sets up and manages virtualenvs using pew, automatically switches virtualenvs as you move directories
- Host: GitHub
- URL: https://github.com/shosca/zsh-pew
- Owner: shosca
- License: mit
- Created: 2019-07-06T14:32:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T12:16:25.000Z (over 6 years ago)
- Last Synced: 2025-04-01T13:48:11.764Z (8 months ago)
- Topics: zsh, zsh-plugin, zsh-plugins
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - pew - Sets up and manages Python virtualenvs using [pew](https://github.com/berdario/pew) and automatically switches virtualenvs as you move directories. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - pew - Sets up and manages Python virtualenvs using <b><code> 1166⭐</code></b> <b><code> 81🍴</code></b> [pew](https://github.com/berdario/pew)) and automatically switches virtualenvs as you move directories. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - pew - Sets up and manages Python virtualenvs using [pew](https://github.com/berdario/pew), automatically switches virtualenvs as you move directories. (Plugins / Zinit (née zplugin))
README
Pew Autoswitch Virtualenv
=========================
A very simple plugin that sets up and manages virtualenvs using `pew`, automatically switches virtualenvs as you move
directories
Install
-------
ZPlug_
::
zplug "shosca/zsh-pew"
Settings
--------
- ``DISABLE_PEW_AUTOACTIVATE`` will disable autoactivation on load
- ``PEW_DEFAULT_PYTHON`` sets the default python to use for virtualenv
- ``PEW_DEFAULT_REQUIREMENTS`` a requirements file for python packages to be installed by default
Commands
--------
- ``mkvirtualenv`` creates a virtualenv using `pew` for a project
- ``rmvirtualenv`` destorys a virtualenv for a project using `pew`
- ``install_requirements`` installs python requirements found in the project
- ``workon`` manually activates virtualenv
- ``enable_pew_autoactivate`` and ``disable_pew_autoactivate`` toggles pew autoactivation
.. _Zplug: https://github.com/zplug/zplug