PatrickF1 / fzf.fish

🔍🐟 Fzf plugin for Fish
MIT License
1.96k stars 78 forks source link

file completion not working #244

Closed asegarra closed 2 years ago

asegarra commented 2 years ago

Before proceeding...

Describe the bug

Default CTRL + ALT + F open fzf but without any files to search. Went through the troubleshooting page and nothing

Steps to reproduce

stock fish and this plugin

Environment

Versions installed:

Which, if any, configuration variables such as fzf_preview_file_cmd are set?

nothing has been customized

Additional context

PatrickF1 commented 2 years ago

Hi, sorry to hear that. So you

asegarra commented 2 years ago

Hi, yes to all. No clue what I'm doing wrong, everything else appears to be working.

PatrickF1 commented 2 years ago

Can you try

If all else fails, you can try modifying _fzf_search_directory and printing/echoing the different variables that get set.

ajitid commented 2 years ago

@asegarra It could be that dependencies that this plugin rely on have an outdated version on your machine. See min. version deps. list here and ensure fd --version >= 8.4.0. Otherwise, grab the latest version from their releases page.

I faced the same problem, and got it fixed by using the recent version of fd-find.

asegarra commented 2 years ago

Thanks @ajitid that was it! Thanks @PatrickF1 for the help and the very useful package.