Fork me on GitHub
#spacemacs
<
2022-03-04
>
jumar15:03:03

I'm trying spacemacs/fzf-find-files but as soon as I invoke the action it fails with FZF exited with code 2 How can I identify what's the problem? Of course, fzf works just fine in my terminal.

practicalli-johnny15:03:13

I dont have that command. Do you know what package it comes from ?

jumar15:03:29

It's a command line tool I installed a long time ago: https://sourabhbajaj.com/mac-setup/iTerm/fzf.html For spacemacs, there's fzf layer: https://github.com/AshyIsMe/fzf-spacemacs-layer I don't think I've done any special installation just added the layer to my dotspacemacs-configuration-layers

practicalli-johnny15:03:08

Ah, its a community layer, not part of Spacemacs itself. Looking at the code, it only seems to add a few functions and bindings and hasnt changed in 4 years, so not much to go wrong

practicalli-johnny16:03:33

Is fzf command line tool still on the Emacs path? SPC f e e should show the path and other environment variables. Its the only thing I can think of.

jumar16:03:37

from emacs env:

PATH=...:/usr/local/bin:...
from the terminal:
$ which fzf
/usr/local/bin/fzf