We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639fe5d commit b13f4b7Copy full SHA for b13f4b7
virtualenvwrapper.sh
@@ -268,11 +268,13 @@ mkvirtualenv () {
268
eval "envname=\$$#"
269
virtualenvwrapper_verify_workon_home || return 1
270
virtualenvwrapper_verify_virtualenv || return 1
271
- (cd "$WORKON_HOME" &&
+ (
272
+ [ -n "$ZSH_VERSION" ] && setopt SH_WORD_SPLIT
273
+ cd "$WORKON_HOME" &&
274
"$VIRTUALENVWRAPPER_VIRTUALENV" $VIRTUALENVWRAPPER_VIRTUALENV_ARGS "$@" &&
275
[ -d "$WORKON_HOME/$envname" ] && \
276
virtualenvwrapper_run_hook "pre_mkvirtualenv" "$envname"
- )
277
+ )
278
typeset RC=$?
279
[ $RC -ne 0 ] && return $RC
280
0 commit comments