Update modules/python/init.zsh
support virtualenvwrapper when installed in bash_completion.d
This commit is contained in:
parent
2250f93fa3
commit
96753dce0b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue