spacemacs

jumar 2022-03-04T15:35:03.548229Z

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-johnny 2022-03-04T15:39:13.438069Z

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

jumar 2022-03-04T15:44:29.609679Z

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-johnny 2022-03-04T15:58:08.078959Z

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-johnny 2022-03-04T16:51:33.181099Z

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.

jumar 2022-03-04T16:54:37.661539Z

from emacs env:

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