python: add ubuntu locations for virtualenvwrapper.sh
This commit is contained in:
parent
3f99519021
commit
899c176942
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,10 @@ if zstyle -T ':prezto:module:python' skip-virtualenvwrapper-init; then
|
|||
source "$commands[virtualenvwrapper_lazy.sh]"
|
||||
elif (( $+commands[virtualenvwrapper.sh] )); then
|
||||
source "$commands[virtualenvwrapper.sh]"
|
||||
elif [[ -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ]]; then
|
||||
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
|
||||
elif [[ -f /usr/share/virtualenvwrapper/virtualenvwrapper.sh ]]; then
|
||||
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue