From 899c176942e8217bb3b61dbea6551ff65031ef4e Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Mon, 10 Jul 2017 00:03:36 -0700 Subject: [PATCH] python: add ubuntu locations for virtualenvwrapper.sh --- modules/python/init.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 859569d..7ed3428 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -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