Moved path section into its own file.
This commit is contained in:
parent
b512e64fcb
commit
c5e87681a4
2 changed files with 14 additions and 15 deletions
15
config.org
15
config.org
|
|
@ -202,21 +202,6 @@ features.
|
|||
|
||||
#+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
|
||||
|
||||
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
|
||||
Loading…
Reference in a new issue