aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2019-03-26 01:16:44 +0100
committerThomas Schneider <qsx@qsx.re>2019-03-26 01:16:44 +0100
commit2a834acfdeaded3d4c2065d40e56e503dc4a7a54 (patch)
treee21573d62109d541d45a9ba7f343fb653c0fdd2b /dot.emacs.d/init.el
parent351a9b691050a5af16e3387f25d5759b0499a851 (diff)
Emacs: Fix environment on macOS
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 2e14781..1e18f21 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -45,6 +45,12 @@
(display-time-mode)
(display-battery-mode)
+(when (eq system-type 'darwin)
+ (use-package exec-path-from-shell
+ :ensure t
+ :init (exec-path-from-shell-initialize))
+ (setenv "LANG" "de_DE.UTF-8"))
+
(use-package yaml-mode
:mode "\\.yml\\'")