From cccaa4f9f3fadfad1bbb6a059343dba197680725 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 15 Dec 2019 21:42:56 -0500 Subject: [PATCH] Make doom/reload-env run 'doom env' through user's SHELL --- core/autoload/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/autoload/config.el b/core/autoload/config.el index 4159a48b0..05637ad1e 100644 --- a/core/autoload/config.el +++ b/core/autoload/config.el @@ -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