Refactor exex-path-from-shell installation

This commit is contained in:
Tobias Ostner 2023-04-04 08:23:41 +02:00
parent 93b4eef75f
commit baf4341edc

View file

@ -34,11 +34,6 @@
(require 'use-package)
(setq use-package-always-ensure t)
(use-package exec-path-from-shell)
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
;; -----------------------------------------------------------------
(use-package ace-window
@ -196,6 +191,11 @@
(when (fboundp 'mac-auto-operator-composition-mode)
(mac-auto-operator-composition-mode)))
(when (memq window-system '(mac ns))
(use-package exec-path-from-shell
:config
(exec-path-from-shell-initialize)))
(use-package flycheck
:init
(global-flycheck-mode))