diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index a59f5120b31738db8cecb37df08b8c57fd58710d..23a29ce6a26c81176b0156d872e402e421a7df7a 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -336,7 +336,7 @@ fi;
 _sp_multi_pathadd() {
     local IFS=':'
     if [ "$_sp_shell" = zsh ]; then
-        setopt sh_word_split
+        emulate -L sh
     fi
     for pth in $2; do
         for systype in ${_sp_compatible_sys_types}; do