]> arthur.barton.de Git - ax-zsh.git/commitdiff
virtualenvwrapper: Set PIP_REQUIRE_VIRTUALENV=true
authorAlexander Barton <alex@barton.de>
Sat, 18 Jul 2015 01:42:44 +0000 (03:42 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 18 Jul 2015 01:42:44 +0000 (03:42 +0200)
plugins/virtualenvwrapper/virtualenvwrapper.zshrc

index bf7a32700698f089750f3e9cfe449ee14afd8e79..ed81aec9946555f6507126830eb2cef271c654da 100644 (file)
@@ -12,7 +12,12 @@ for script (
                        && PROJECT_HOME="$LOCAL_HOME/Develop"
                [[ -z "$WORKON_HOME" ]] \
                        && WORKON_HOME="$XDG_CACHE_HOME/virtualenvs"
+
                source "$script"
+
+               # pip
+               export PIP_REQUIRE_VIRTUALENV="true"
+
                break
        fi
 done