diff options
author | Alan Pearce | 2017-02-01 16:45:33 +0100 |
---|---|---|
committer | Alan Pearce | 2017-02-01 16:45:33 +0100 |
commit | 7c5d4880ec9eb293405284a4650b0ff0a237cc2e (patch) | |
tree | 66b503ad02dbdd9cd79fcf078b3ad3102d9375bd | |
parent | 4023678dd3408f5623b1a52155a447b31deb54ac (diff) | |
download | dotfiles-7c5d4880ec9eb293405284a4650b0ff0a237cc2e.tar.lz dotfiles-7c5d4880ec9eb293405284a4650b0ff0a237cc2e.tar.zst dotfiles-7c5d4880ec9eb293405284a4650b0ff0a237cc2e.zip |
Emacs: Move environment variable configuration
-rw-r--r-- | tag-emacs/emacs.d/init.org | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 75d62e2..95f1cd1 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 |