diff --git a/init/bash.in b/init/bash.in index 2c82ea8bb..bede85e79 100644 --- a/init/bash.in +++ b/init/bash.in @@ -25,7 +25,7 @@ fi __build_FPATH_for_zsh_ksh() { - zsh_fpath=$(zsh -f -c 'echo $FPATH') + zsh_fpath=$(unset FPATH; zsh -f -c 'echo $FPATH') export FPATH=$(@PKGV@/libexec/addto --append FPATH $zsh_fpath @PKGV@/init/ksh_funcs) unset zsh_fpath }