prefer doom env over exec-path-from-shell

Via common config errors on doom discourse
This commit is contained in:
Willem van den Ende
2023-01-22 21:40:30 +00:00
parent bc9a7d6004
commit 3be8aacb90
-6
View File
@@ -26,12 +26,6 @@
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(setq doom-theme 'doom-solarized-light) (setq doom-theme 'doom-solarized-light)
;; set python3 as python
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
(exec-path-from-shell-copy-env "PYTHONPATH")
;; general editor customizations ;; general editor customizations
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
(setq linum-format "%3d \u2502'") (setq linum-format "%3d \u2502'")