Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T12:16:25.000Z (over 5 years ago)
- Last Synced: 2024-04-16T23:49:14.189Z (7 months ago)
- Topics: zsh, zsh-plugin, zsh-plugins
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Pew Autoswitch Virtualenv
=========================A very simple plugin that sets up and manages virtualenvs using `pew`, automatically switches virtualenvs as you move
directoriesInstall
-------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