Refactor exex-path-from-shell installation
This commit is contained in:
parent
93b4eef75f
commit
baf4341edc
1 changed files with 5 additions and 5 deletions
|
|
@ -34,11 +34,6 @@
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(setq use-package-always-ensure t)
|
(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
|
(use-package ace-window
|
||||||
|
|
@ -196,6 +191,11 @@
|
||||||
(when (fboundp 'mac-auto-operator-composition-mode)
|
(when (fboundp 'mac-auto-operator-composition-mode)
|
||||||
(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
|
(use-package flycheck
|
||||||
:init
|
:init
|
||||||
(global-flycheck-mode))
|
(global-flycheck-mode))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue