Check system-type before including environment variables from the shell
This commit is contained in:
@@ -770,8 +770,10 @@ With the transpose-frame package windows can be rearanged in a frame without the
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Read environment variables from the shell
|
** Read environment variables from the shell
|
||||||
|
When not running on a windows system, we can use the env variables in emacs
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package exec-path-from-shell
|
(use-package exec-path-from-shell
|
||||||
|
:if (not (eq system-type 'windows-nt))
|
||||||
:config
|
:config
|
||||||
(exec-path-from-shell-initialize))
|
(exec-path-from-shell-initialize))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
Reference in New Issue
Block a user