Simplified virtualenvwrapper test
This commit is contained in:
parent
5248089321
commit
36846c88ea
1 changed files with 2 additions and 4 deletions
|
@ -21,8 +21,6 @@ else
|
|||
fi
|
||||
|
||||
# source virtualenvwrapper if available
|
||||
if [[ -n "$WORKON_HOME" ]]; then
|
||||
if (( $+commands[virtualenvwrapper.sh] )); then
|
||||
source virtualenvwrapper.sh
|
||||
fi
|
||||
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
|
||||
source virtualenvwrapper.sh
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue