fzf-zsh-plugin
fzf-zsh-plugin copied to clipboard
Support asdf-based fzf installs
As an ASDF user, I prefer to install all my tooling through asdf
. This plugin looks for fzf
in a hardcoded location (~/.fzf
) which causes a duplicate installation of fzf.
Where does asdf
install it?
In a path based on the version of fzf
that is currently selected.
/Users/brandonmcnama/.asdf/installs/fzf/0.27.3/bin/fzf
It looks like this plugin looks in a couple of hardcoded locations only (based on https://github.com/unixorn/fzf-zsh-plugin/blob/5758b657efa262d9cd9810d343db92ff0d58fb16/fzf-zsh-plugin.plugin.zsh#L37) Is it possible to infer the location of key-bindings.zsh
based on the path of fzf
?
That will make it easier, thanks.