ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
https://crates.io/crates/zoxide
MIT License
23.08k stars 557 forks source link

"zi" with fzf #884

Closed ragokan closed 2 months ago

ragokan commented 2 months ago

Does "zi" command only works for the previously visited folders? With fzf, I can do search for folders but when I do "zi lib", I get this output:

 ❯ zi lib            
zoxide: no match found

But if I do "fzf" and then type "lib", I get results that I want to see. Is there any way to populate zoxide with fzf?

ajeetdsouza commented 2 months ago

Nope. The reason zoxide works so well is that it has a very small search space, so it almost always gets the query correct. Populating zoxide with fzf entries would defeat the purpose.

ragokan commented 2 months ago

Got it, thanks for your fast answer @ajeetdsouza