Update 'doom env' docs #2835

This commit is contained in:
Henrik Lissner 2020-04-15 00:14:08 -04:00
parent ce333dd178
commit c095e7279a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,10 +9,10 @@ them manually from your private config with the `doom-load-envvars-file'
function.")) function."))
"Creates or regenerates your envvars file. "Creates or regenerates your envvars file.
The envvars file is created by scraping your (interactive) shell environment The envvars file is created by scraping the current shell environment into
into newline-delimited KEY=VALUE pairs. Typically by running '$SHELL -ic env' newline-delimited KEY=VALUE pairs. Typically by running '$SHELL -ic env' (or
(or '$SHELL -c set' on windows). Doom loads this file at startup (if it exists) '$SHELL -c set' on windows). Doom loads this file at startup (if it exists) to
to ensure Emacs mirrors your shell environment (particularly to ensure PATH and ensure Emacs mirrors your shell environment (particularly to ensure PATH and
SHELL are correctly set). SHELL are correctly set).
This is useful in cases where you cannot guarantee that Emacs (or the daemon) This is useful in cases where you cannot guarantee that Emacs (or the daemon)