I use asdf and Emacs and I think Emacs doesn't see asdf shims?

I installed devicetree-language-server which resides in .asdf/shims, but when I run (executable-find "devicetree-lanuage-server") I get nil. How can I fix it?

Sorry if it's stupid question, Emacs is style quite a mystery for me.

#emacs

@szpon My first guess, without any further detail, would be that .asdf/shims is not in the PATH of the Emacs process.

That probably depends on how you configure asdf and how you launch Emacs.

(There might also be an emacs package to handle this.)

@benjamineskola: exec-path-from-shell is the package for this. It spawns an inferior shell and grabs some variables from it and sets them appropriately inside emacs (normally just PATH -> exec-path, i think, but others can be configured)
@szpon
@BryanBennett @benjamineskola @szpon yup, I wrote that package so that the PATH inside Emacs will match the PATH you see in your regular shell. And if you need paths to vary from one project to another, look into direnv and envrc.el.