diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 485f99dd..50a1f61f 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -25,5 +25,7 @@ fi # Load virtualenvwrapper into the shell session. if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then source "$commands[virtualenvwrapper.sh]" +elif [[ -e "/etc/bash_completion.d/virtualenvwrapper" ]]; then + source "/etc/bash_completion.d/virtualenvwrapper" fi