Fix bug in exec-path-from-shell hook, simplify font setup
Some checks failed
/ Test config on 20 (push) Failing after 48s

This commit is contained in:
Maciej 2025-01-05 17:34:12 +02:00
parent b0361861b4
commit 0ec8f700af
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 75 additions and 86 deletions

View file

@ -101,15 +101,13 @@
;; :if (memq window-system '(x mac ns))
:ensure t
:defer t
:hook ((elpaca-after-init . exec-path-from-shell-initalize))
:hook ((elpaca-after-init . exec-path-from-shell-initialize))
:config
(declare-function exec-path-from-shell-initialize "exec-path-from-shell")
(add-to-list 'exec-path "/usr/local/bin")
(dolist (var '("DEFT_PATH" "LANG" "LC_CTYPE"))
(add-to-list 'exec-path-from-shell-variables var)))
;; (use-package envrc :ensure t :hook (elpaca-after-init . envrc-global-mode))
(use-package direnv :ensure t :defer t
:hook ((elpaca-after-init . direnv-mode)))