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

[BUG] FZF_PATH variable not pointing to FZF installed with Brew #286

Closed
saumikn opened this issue Mar 19, 2024 · 4 comments · Fixed by #290
Closed

[BUG] FZF_PATH variable not pointing to FZF installed with Brew #286

saumikn opened this issue Mar 19, 2024 · 4 comments · Fixed by #290
Labels

Comments

@saumikn
Copy link

saumikn commented Mar 19, 2024

I followed along with the instructions and installed fzf with brew install fzf, cloned the main repo into my home directory, and then set up the terminal with p10k configure.

However, whenever I make a new shell, I'm getting the following warning: /Users/saumik/.fzf.zsh:source:13: no such file or directory: /Users/saumik/.fzf/shell/key-bindings.zsh

Upon further inspection, it seems like brew installs fzf in /usr/local/Cellar, but the .fzf.zsh file is looking for FZF_PATH, which has somehow been set to /Users/saumik/.fzf.

I could manually edit the .fzf.zsh file to point to /usr/local/Cellar, but I'm not sure why this is happening by default.

Any idea what's going wrong, or if I'm missing a step?

@saumikn saumikn added the bug label Mar 19, 2024
@saumikn
Copy link
Author

saumikn commented Mar 19, 2024

As a fix, I've added FZF_PATH="/usr/local/Cellar/fzf/0.48.1" to a .zshrc.pre-plugins.d file, but I don't remember having to do this before when I used zsh-quickstart-kit.

@unixorn
Copy link
Owner

unixorn commented Mar 20, 2024

I'll take a look this weekend - I'm kind of swamped at work this week

@neiromaster
Copy link
Contributor

neiromaster commented Apr 12, 2024

@saumikn please check the installation with the updated instructions from PR - #290
Delete ~/.fzf.zsh and ~/.fzf beforehand
zsh-quickstart-kit or plugins do not need to be uninstalled or reinstalled

@unixorn
Copy link
Owner

unixorn commented Apr 13, 2024

Thanks, @neiromaster

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

Successfully merging a pull request may close this issue.

3 participants