Commit e8a04cbcc69e

Vincent Demeester <vincent@sbr.pm>
2015-03-26 09:33:34
Use exec-path-from-shell
1 parent 35c6888
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -336,6 +336,22 @@
     #+END_SRC
 
 
+**** Setting the PATH
+
+     I'm playing a lot with the =$PATH= variable in my shell, and I
+     sometimes pested that Emacs didn't have the same one. But thanks
+     to [[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] it's all ok now =:P=.
+
+
+     #+BEGIN_SRC emacs-lisp
+       (use-package exec-path-from-shell
+         :ensure t
+         :config
+         (exec-path-from-shell-initialize)
+         (exec-path-from-shell-copy-env "HISTFILE"))
+     #+END_SRC
+
+
 **** Encoding
 
      Make sur that we use ~utf-8~ by default.