summaryrefslogtreecommitdiffstats
path: root/lisp/init-mac.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-03-14 16:54:33 +0100
committerMartin Polden <mpolden@mpolden.no>2021-03-14 16:58:43 +0100
commit44ddc6fc2d479d331c35b38de318907e471a8b74 (patch)
treeb1c0e172745760d8f081455b6bf1c63fdd593d0a /lisp/init-mac.el
parent354d715836026d5f35fb846ffaa65f989422dd13 (diff)
mac: Set JAVA_HOME and CLASSPATH from shell
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r--lisp/init-mac.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-mac.el b/lisp/init-mac.el
index 5c6756d..8231f79 100644
--- a/lisp/init-mac.el
+++ b/lisp/init-mac.el
@@ -31,7 +31,8 @@
;; use paths from shell
(use-package exec-path-from-shell
:ensure t
- :init (setq exec-path-from-shell-variables '("PATH" "MANPATH" "GOPATH"))
+ :init (setq exec-path-from-shell-variables '("PATH" "MANPATH" "GOPATH"
+ "JAVA_HOME" "CLASSPATH"))
:config (exec-path-from-shell-initialize))
;; add binding for toggling fullscreen