Closed dmorgan-fa closed 1 year ago
Sorry, I cannot reproduce this. What's your zsh version?
Ah, I see it's only happening on my Mac:
zsh 5.8.1 (x86_64-apple-darwin22.0)
I get the same experience on Ubuntu as you, without the duplicate entries in $fpath:
zsh 5.8 (x86_64-ubuntu-linux-gnu)
Thanks for your contribution!
What
Rather than adding to
$FPATH
every time a new shell is created, check to see if it's already present. This means we don't end up with multiple instances of${FZF_TAB_HOME}/lib
included in$FPATH
.Example
Before
After