From 5ccf1ad613cfa4ddcec8f747a44126cd3f929b47 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 5 Jan 2022 18:20:40 -0600 Subject: Require exec-path-from-shell --- early-init.el | 4 ++++ init.el | 1 + 2 files changed, 5 insertions(+) diff --git a/early-init.el b/early-init.el index 805bd61..2cfcb84 100644 --- a/early-init.el +++ b/early-init.el @@ -151,6 +151,10 @@ See `no-littering' for examples.") ;; Setup `setup' (add-to-list 'setup-modifier-list 'setup-wrap-to-demote-errors) +;; (advice-add 'setup :before (defun +setup-before (&rest args) +;; (message "Setup: %S" args))) +;; (advice-add 'setup :after (defun +setup-after (&rest args) +;; (message "Setup: %S...Done." args))) ;;; Appendix diff --git a/init.el b/init.el index 526c867..5c3ed35 100644 --- a/init.el +++ b/init.el @@ -917,6 +917,7 @@ See also `crux-reopen-as-root-mode'." (setup (:straight-when exec-path-from-shell (eq system-system 'linux)) + (require 'exec-path-from-shell) (dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" -- cgit 1.4.1-21-gabe81