summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index a59f5120b3..23a29ce6a2 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