From 9388c2ef6960d456c1c13e00d6c3a2d3c069d54b Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Thu, 1 Aug 2024 09:53:29 -0500 Subject: [PATCH] unset FPATH before asking for a new value --- init/bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }