Skip to content

Commit

Permalink
unset FPATH before asking for a new value
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Aug 1, 2024
1 parent 4850986 commit 9388c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9388c2e

Please sign in to comment.