Browse Source

Source virtualenvwrapper in python module

master
Sebastian Wiesner 12 years ago committed by Sorin Ionescu
parent
commit
c9561e1b87
  1. 6
      modules/python/init.zsh

6
modules/python/init.zsh

@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
# Sebastian Wiesner <lunaryorn@googlemail.com>
#
# Prepend PEP 370 per user site packages directory, which defaults to
@ -16,3 +17,8 @@ else @@ -16,3 +17,8 @@ else
manpath=($HOME/.local/{,share/}man(N) $manpath)
fi
# Load virtualenvwrapper into the shell session.
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
source "$commands[virtualenvwrapper.sh]"
fi

Loading…
Cancel
Save