all repos — nixfiles @ 7c5d4880ec9eb293405284a4650b0ff0a237cc2e

System and user configuration, managed by nix and home-manager

Emacs: Move environment variable configuration

Alan Pearce
commit

7c5d4880ec9eb293405284a4650b0ff0a237cc2e

parent

4023678dd3408f5623b1a52155a447b31deb54ac

1 file changed, 13 insertions(+), 13 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -31,19 +31,6 @@ (setq user-mail-address "alan@alanpearce.co.uk"
user-full-name "Alan Pearce") #+end_src -** Environment Variables - -MacOS doesn’t have a reasonable way to set environment variables and -read them automatically any more. So, let’s use the -[[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] package to set up ~exec-path~ and similar -variables from whatever my shell configuration is. - -#+BEGIN_SRC emacs-lisp -(use-package exec-path-from-shell - :if (eq system-type 'darwin) - :init (exec-path-from-shell-initialize)) -#+END_SRC - * Packaging ** Use-package
@@ -310,6 +297,19 @@ ("shell" "sh" :postfix)))
(cyphejor-mode 1))) #+END_SRC + +* Environment Variables + +MacOS doesn’t have a reasonable way to set environment variables and +read them automatically any more. So, let’s use the +[[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] package to set up ~exec-path~ and similar +variables from whatever my shell configuration is. + +#+BEGIN_SRC emacs-lisp +(use-package exec-path-from-shell + :if (eq system-type 'darwin) + :init (exec-path-from-shell-initialize)) +#+END_SRC * Keybindings