Truncated PATH calling emacsclient from Menu

When I open emacsclient using the Main Menu, the PATh shown has many fewer entries than when I open emacs from the menu bar.

If I open emacsclient from a shell, I have all the PATH entries I expect. This is my workaround

I assume this happens because of when the emacs server is started in the startup process…ie before the PATH is fully formed.

Is there a way I can fix this in my $HOME configuration?

Steve

Thanks

1 Like

Ok. I figured out how to fix this emacsclient problem with PATH.

Instead of starting the emacs server with systemd, I added the following command to my
.zlogin file:

emacs --daemon 2>/dev/null

2 Likes