Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: could not launch fzf #28

Closed
reckoner opened this issue Mar 11, 2020 · 6 comments
Closed

Error: could not launch fzf #28

reckoner opened this issue Mar 11, 2020 · 6 comments

Comments

@reckoner
Copy link

I am running this on windows 10 cygwin. I built zoxide with windows cargo and I do have /usr/bin/fzf which works fine.

Error: could not launch fzf

Caused by:
The system cannot find the file specified. (os error 2)

@tjysdsg
Copy link

tjysdsg commented Mar 12, 2020

Just install fzf on your computer

@ajeetdsouza
Copy link
Owner

Just to clarify, are you able to run the fzf command?

@reckoner
Copy link
Author

Yes. I runs fine. I have been using the original z with it.

@ajeetdsouza
Copy link
Owner

Could you try this:

  1. Install fzf on Windows (not Cygwin)
  2. Add fzf to your PATH - ensure that you can run fzf with a regular cmd.exe
  3. Try zoxide inside Cygwin now, and see if it works?

@reckoner
Copy link
Author

https://github.com/junegunn/fzf/wiki/Cygwin

says that fzf is incompatible with mintty (primary cygwin terminal emulator) but it works great with regular command console (I just tried it). The fzf version I have been running is the Ruby version mentioned in the above link.

Thanks anyway.

@ajeetdsouza
Copy link
Owner

Okay, no problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants