From 7c5d4880ec9eb293405284a4650b0ff0a237cc2e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 1 Feb 2017 16:45:33 +0100 Subject: Emacs: Move environment variable configuration --- tag-emacs/emacs.d/init.org | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 75d62e2e..95f1cd17 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -31,19 +31,6 @@ the buffer to be empty. 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 @@ -311,6 +298,19 @@ modes. #+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 I think =set-keyboard-coding-system= stops OS X from doing something -- cgit 1.4.1