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

how to load shell PATH when launch emacs daemon through launchd? #3930

Closed
xiaoxinghu opened this issue Nov 23, 2015 · 2 comments
Closed

how to load shell PATH when launch emacs daemon through launchd? #3930

xiaoxinghu opened this issue Nov 23, 2015 · 2 comments
Labels
macOS Question Running as daemon stale marked as a stale issue/pr (usually by a bot)

Comments

@xiaoxinghu
Copy link

I launch emacs as daemon through ~/Library/LaunchAgents/homebrew.mxcl.emacs.plist. Then I loss the "PATH" from my shell settings (which is zsh). How can I load the right path without specifically change the exec-path in user-config.
exec-path-from-shell works for the GUI, but it doesn't work for launchd.

PS: I don't want to change ~/Library/LaunchAgents/homebrew.mxcl.emacs.plist either. Unless it is the most sensible way, then we can contribute to the homebrew formula instead.

@Miciah
Copy link
Contributor

Miciah commented Jul 7, 2018

This sounds like the sort of problem that the recently added ~/.spacemacs.env is intended to solve. See Environment variables and PATH in the Spacemacs documentation. Does that resolve this issue?

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Question Running as daemon stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

3 participants