From 13396d4accba2ae739830dd5b494fe30366c01a1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 7 May 2025 16:32:18 -0400 Subject: [PATCH] refactor(python): move conda-env-intiailize-eshell to eshell-load-hook It's easier for users to remove a hook than undo the side-effects of `conda-env-initialize-eshell` manually. --- modules/lang/python/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 1366efbd5..6e7a54c48 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -209,7 +209,7 @@ :config ;; integration with term/eshell (conda-env-initialize-interactive-shells) - (after! eshell (conda-env-initialize-eshell)) + (add-hook 'eshell-load-hook #'conda-env-initialize-eshell) (add-to-list 'global-mode-string '(conda-env-current-name (" conda:" conda-env-current-name " "))