From: "seagle0128@gmail.com" <seagle0128@gmail.com>
To: Emanuel Berg <moasen@zoho.com>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: 回复:emacs doesn't inherit PATH from environment
Date: Wed, 14 Feb 2018 09:55:26 +0800 [thread overview]
Message-ID: <-ze1v19-d4c1on-lipd34-1sb5gmhc6ytfxvx0dgaztjmz-6imrwf-mm0vhm-4vg5py-udy1d97cl4z8yx6aw2-ay56c7-b2sjybpfovxa-39n55ezglwm02h55bm-b4j0r2mt4e53624xt1-m71ugcr53b0y.1518573326778@email.android.com> (raw)
In-Reply-To: 86h8qkcpmj.fsf@zoho.com
My solution, put env vars in .zshenv, and use exec-path-from-shell
package to import into emacs.
BTW, this is a good post
http://ergoemacs.org/emacs/emacs_env_var_paths.html.
Best Regards,
Vincent Zhang
-------- 原始邮件 --------
主题:Re: emacs doesn't inherit PATH from environment
�件人:Emanuel Berg
收件人:help-gnu-emacs@gnu.org
抄�:
Robert Thorpe wrote:
> Have a look at th Zsh documentation, it will
> probably explain some obscure caveats about
> using .zshrc.
Unfortunately, reading zsh documentation is
like a full-time job, with the exception you
actually have to *do* it!
But Emacs + zsh isn't such an uncommon
combination, so perhaps someone reading this
still knows...
--
underground experts united
http://user.it.uu.se/~embe8573
prev parent reply other threads:[~2018-02-14 1:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.9076.1518571984.27995.help-gnu-emacs@gnu.org>
2018-02-14 1:43 ` emacs doesn't inherit PATH from environment Emanuel Berg
2018-02-14 1:55 ` seagle0128 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=-ze1v19-d4c1on-lipd34-1sb5gmhc6ytfxvx0dgaztjmz-6imrwf-mm0vhm-4vg5py-udy1d97cl4z8yx6aw2-ay56c7-b2sjybpfovxa-39n55ezglwm02h55bm-b4j0r2mt4e53624xt1-m71ugcr53b0y.1518573326778@email.android.com \
--to=seagle0128@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasen@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.