From 9fdfae05339192db40578db09669a1dc3eee4823 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 8 Jan 2020 11:06:44 -0500 Subject: [PATCH] Fix extract-vars-from-env-file --- emacs/init.org | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/init.org b/emacs/init.org index 6441af0..0d7dcfd 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -441,6 +441,7 @@ Load environment variables into Emacs from a shell script: (let ((var-re "\\(.+?\\)=\\(.+\\)$") (env '())) (with-temp-buffer + (cd (file-name-directory file)) (shell-command (concat "source " file " > /dev/null && env") (current-buffer)) (goto-char (point-min))