mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 01:17:59 +00:00
Source virtualenvwrapper in python module
This commit is contained in:
parent
09d1448ac7
commit
c9561e1b87
@ -3,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Authors:
|
# Authors:
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
|
# Sebastian Wiesner <lunaryorn@googlemail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
# Prepend PEP 370 per user site packages directory, which defaults to
|
# Prepend PEP 370 per user site packages directory, which defaults to
|
||||||
@ -16,3 +17,8 @@ else
|
|||||||
manpath=($HOME/.local/{,share/}man(N) $manpath)
|
manpath=($HOME/.local/{,share/}man(N) $manpath)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Load virtualenvwrapper into the shell session.
|
||||||
|
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
|
||||||
|
source "$commands[virtualenvwrapper.sh]"
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user