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

fzf: [Command failed: find . -type f (-path .git -o -path node_modules ) -prune] #177

Closed
AsterisMono opened this issue Mar 6, 2022 · 6 comments
Labels

Comments

@AsterisMono
Copy link

Describe the bug
fzf fails to start after a fresh install of zsh-quickstart-kit.

To Reproduce
Steps to reproduce the behavior:

  1. $stow --target="$HOME" zsh on bash
  2. zsh
  3. fzf
  4. fzf produces output: [Command failed: find . -type f ( -path .git -o -path node_modules ) -prune]

Expected behavior
fzf should run.

Screenshots
Self-explanatory one-liner error prompt.

Desktop (please complete the following information):

  • OS/disto: Arch Linux
  • Version: 5.16.12-arch-1-1

Additional context
Problem occurs on a fresh install of Arch Linux.
fzf was installed with sudo pacman -S fzf , with no further configurations.
fzf runs properly on bash and zsh without zsh-quickstart-kit installed.
fzf produces the same error when running in bash started by zsh.
Manually run find . -type f (-path .git -o -path node_modules ) -prune gives an output of zsh: unknown file attribute:

@AsterisMono
Copy link
Author

Also, zsh complains it can't find key-bindings.zsh in somewhere near ~/.fzf/shell/ (I can't remember exactly where) upon start. I've linked /usr/share/fzf/key-bindings.zsh to that location zsh desired, but I'm not sure if this is the right thing to do.
If so, maybe it should be included in the installation guide.

@unixorn unixorn added the bug label Mar 19, 2022
@jgimeno
Copy link

jgimeno commented Apr 29, 2022

Check that you don't have the oh-my-zsh plugin fzf-zsh-plugin setted up. When I removed this it worked again.

@unixorn
Copy link
Owner

unixorn commented May 5, 2022

@AsterisMono did @jgimeno's advice about the oh-my-zsh plugin help?

@AsterisMono
Copy link
Author

Confirmed disabling fzf-zsh-plugin solves the problem.

Sorry for the delay, was not on GitHub for a couple of days :D

@unixorn
Copy link
Owner

unixorn commented May 9, 2022

NP, life happens. Thanks for letting me know.

@Microwave-WYB
Copy link

Is there a way to fix that?

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

No branches or pull requests

4 participants