Make doom/reload-env run 'doom env' through user's SHELL
This commit is contained in:
parent
7095bdb7ce
commit
cccaa4f9f3
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ If passed the prefix ARG, clear the envvar file. Uses the same mechanism as
|
|||
An envvar file contains a snapshot of your shell environment, which can be
|
||||
imported into Emacs."
|
||||
(interactive "P")
|
||||
(doom--compile (format "%s env%s" doom-bin (if arg " -c" ""))
|
||||
(doom--compile
|
||||
(format "%s -c '%s env%s'" shell-file-name doom-bin (if arg " -c" ""))
|
||||
:on-success
|
||||
(let ((doom-reloading-p t))
|
||||
(unless arg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue