diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-03-14 16:54:33 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-03-14 16:58:43 +0100 |
commit | 44ddc6fc2d479d331c35b38de318907e471a8b74 (patch) | |
tree | b1c0e172745760d8f081455b6bf1c63fdd593d0a /lisp/init-mac.el | |
parent | 354d715836026d5f35fb846ffaa65f989422dd13 (diff) |
mac: Set JAVA_HOME and CLASSPATH from shell
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r-- | lisp/init-mac.el | 3 |
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 |