Moved path section into its own file.
This commit is contained in:
15
config.org
15
config.org
@@ -202,21 +202,6 @@ features.
|
|||||||
|
|
||||||
#+INCLUDE: "config/auth.org" :minlevel 1
|
#+INCLUDE: "config/auth.org" :minlevel 1
|
||||||
|
|
||||||
* Path
|
|
||||||
|
|
||||||
Rather than having to manage potential paths in the configuration I'll use the
|
|
||||||
[[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] package. This pulls in =$PATH= from various different shells
|
|
||||||
and operating systems. At least BSD, Linux, and MacOS are supported anyway.
|
|
||||||
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package exec-path-from-shell
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
(when (memq window-system '(mac ns))
|
|
||||||
(exec-path-from-shell-initialize)))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Profiling
|
* Profiling
|
||||||
|
|
||||||
Sometimes if I experience slow start times I've found [[https://github.com/jschaf/esup][esup]] does this quickly and
|
Sometimes if I experience slow start times I've found [[https://github.com/jschaf/esup][esup]] does this quickly and
|
||||||
|
|||||||
14
config/path.org
Normal file
14
config/path.org
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
* Path
|
||||||
|
|
||||||
|
Rather than having to manage potential paths in the configuration I'll use the
|
||||||
|
[[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] package. This pulls in =$PATH= from various different shells
|
||||||
|
and operating systems. At least BSD, Linux, and MacOS are supported anyway.
|
||||||
|
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package exec-path-from-shell
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(when (memq window-system '(mac ns))
|
||||||
|
(exec-path-from-shell-initialize)))
|
||||||
|
#+end_src
|
||||||
Reference in New Issue
Block a user