summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-17 03:46:23 +0300
committerGravatar Uko Kokņevičs2025-10-17 03:46:23 +0300
commite2a622353bfa2395b0339f0769a9727fc1562469 (patch)
tree0411ce36de754678afe28de3eed75712f8ccaae9
parentenvironment: Add config for roswell (diff)
downloaddotfiles-e2a622353bfa2395b0339f0769a9727fc1562469.tar.gz
dotfiles-e2a622353bfa2395b0339f0769a9727fc1562469.tar.xz
dotfiles-e2a622353bfa2395b0339f0769a9727fc1562469.zip
emacs: Move exec-path-from-shell to be as early as possible
-rw-r--r--emacs/.config/emacs/init.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el
index 2a8f7ac..560053f 100644
--- a/emacs/.config/emacs/init.el
+++ b/emacs/.config/emacs/init.el
@@ -172,6 +172,14 @@
172 (eval-print-last-sexp))) 172 (eval-print-last-sexp)))
173 (load bootstrap-file)) 173 (load bootstrap-file))
174 174
175(use-package exec-path-from-shell
176 ;; If any other environment variables are needed, they can be added to exec-path-from-shell-variables
177 :straight t
178 :custom
179 (exec-path-from-shell-variables '("PATH" "MANPATH" "SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
180 :config
181 (exec-path-from-shell-initialize))
182
175(defun arkta/update-packages () 183(defun arkta/update-packages ()
176 (interactive) 184 (interactive)
177 (straight-pull-all) 185 (straight-pull-all)
@@ -302,14 +310,6 @@
302 ;; This actually has to be hooked to after-init to be one of the first minor modes enabled 310 ;; This actually has to be hooked to after-init to be one of the first minor modes enabled
303 :hook (after-init . envrc-global-mode)) 311 :hook (after-init . envrc-global-mode))
304 312
305(use-package exec-path-from-shell
306 ;; If any other environment variables are needed, they can be added to exec-path-from-shell-variables
307 :straight t
308 :custom
309 (exec-path-from-shell-variables '("PATH" "MANPATH" "SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
310 :config
311 (exec-path-from-shell-initialize))
312
313(use-package gcmh 313(use-package gcmh
314 :straight t 314 :straight t
315 :custom 315 :custom