summaryrefslogtreecommitdiff
path: root/plugins/virtualenvwrapper
AgeCommit message (Collapse)Author
2020-05-26virtualenvwrapper: fix load and detection logicMarc Cornellà
2020-03-22virtualenvwrapper: look in $HOME/.local/bin directory (#8758)Hector S
2020-02-07virtualenvwrapper: rewrite init script location code (#8521)Alastair Rankine
2020-01-19virtualenvwrapper: fix finding script on Ubuntu 19.10 (#8451)Jimmy Merrild Krag
2019-12-20Change order of automatic virtualenv activation/deactivation (#6687)Jay Tavares
When navigating from a virtualenv project directory, first deactivate the virtualenv. Then, check to see if destination directory is also a virtualenv project directory. If it is activate that virtualenv. See #5817.
2019-11-19Use safer append to hook function arrays (#8406)Jacob Tomaw
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-10-07virtualenvwrapper: add README (#8226)Michael C
2018-06-06virtualenvwrapper: set $WORKON_HOME if undefinedMarc Cornellà
This uses the default that virtualenvwrapper.sh would set if it was called. If the user changes its value after the plugin is loaded, the plugin will work all the same. Fixes #6882 Closes #6870 Closes #6883
2018-05-26Prefer virtualenvwrapper_lazy (#6842)Lorenzo Bolla
This gives much faster start up times and only loads virtualenvwrapper when needed. Fix #6839
2018-05-13Fix default location of the virtualenvwrapper script (#6348)Ian Chesal
The `virtualenvwrapper` script has been relocated to `/usr/local/bin/virtualenvwrapper.sh`. Update the plugin to look in the new location first. See: http://virtualenvwrapper.readthedocs.io/en/latest/#introduction to confirm the change in location for this script. This addresses issue #3047 where the solution was to source this file from your zshrc.
2015-08-07Add quotes to support folders with whitespaceMarc Cornellà
2015-07-02virtualenvwrapper: treat git repos as project roots again (instead of ↵Andrew Janke
requiring a .venv customization directory) Change error output to more conventional OMZ format, so it's clear the plugin is for oh-my-zsh and not base zsh. Use `local` variables instead of manual unsetting.
2015-06-29virtualenvwrapper: Replace "realpath" with portable zsh-native `:A` and `:h` ↵Andrew Janke
modifiers
2015-06-14Merge pull request #3918 from cbazin/masterRobby Russell
Detect the .venv in any parent directory of the current directory
2015-06-13use local options to set no_equals before sourcing bash completion scriptTommy Wang
2015-05-21Detect the .venv in any parent directory of the current directoryepelletier
2015-02-10Simplify adding workon_cwd to chpwd hookMarc Cornellà
2015-02-10Organize error checking in virtualenwrapper pluginMarc Cornellà
2015-02-10Fixing virtualenvwrapper plugin for Ubuntu (and Debian)Brandon Sandrowicz
Ubuntu and Debian store the system-installed virtualenvwrapper in /etc/bash_completion.d/virtualenvwrapper, so that it gets automatically sourced at startup in Bash. By not putting it somewhere in $PATH, they end up excluding others (e.g. Zsh) that might want to use that file. Oops! The virtualenvwrapper plugin should account for this so that Ubuntu (or Debian) users don't end up with this message: zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with `pip install virtualenvwrapper`. even when they have a virtualenvwrapper installed to a known location.
2015-01-07virtualenvwrapper: Deactivate only if in virtualenvJyrki Pulliainen
If user manually deactivates the virtualenv when using this mode, zsh will produce following error: deactivate:12: command not found: virtualenv_deactivate To avoid this, check that the VIRTUAL_ENV flag is set before trying to automatically deactivate the virtual environment. Fixes #2185
2014-11-28Throw an error message when $WORKON_HOME is not setbenjaoming
Took me a while to figure this one out, and I have a default installation of virtualenvwrapper -- this is a soft fix, just put an error message. But perhaps the fix should be to use the default value `~/.virtualenvs`.
2014-03-17Don't lazy load the virtualenvwrapper.Felix Laurie von Massenbach
Fix robbyrussell#2355.
2013-10-16Add support .venv folder as virtual envLei Zhang
2013-06-08virtualenvwrapper plugin cleanupAndrew Grangaard
* removes cd override by using chpwd_functions * removes subshell call to which by using $+commands array and c param expansion to find in PATH * zsh love!
2013-05-21Fixed recursion. Git not needed for it to work.Germán M. Bravo
Avoid infinite `cd` loops under certain conditions. Try getting `.venv` from the current directory (not necessarily always using git)
2012-12-02use lazy load for virtualenvwrapperJ. Randall Hunt
Using lazy loading for virtualenvwrapper gives a mariginal speed improvement and doesn't stop workon_cd from working. It has the undesired effect of forcing you to call certain virtualenv commands twice before they work (only once per shell instantiation).
2012-08-25search virtualenvwrapper.sh in PATHCenk Alti
2012-08-25Added another path for virtualenvwrapper pluginCenk Alti
When you install python via brew on OSX, pip is installed into /usr/local/share/python/ and all packages installed with this pip are installed here.
2012-06-25Added another pathDavid Barragan
2012-06-18remove readlink call and clean upJames Walker
2012-06-09Plugin which loads Python virtualenvwrapper and activates virtualenvs on cd ↵Jaiden Mispy
into git repos