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.
This commit is contained in:
Henrik Lissner
2025-05-07 16:32:18 -04:00
parent cd227e675a
commit 13396d4acc

View File

@ -209,7 +209,7 @@
:config :config
;; integration with term/eshell ;; integration with term/eshell
(conda-env-initialize-interactive-shells) (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 (add-to-list 'global-mode-string
'(conda-env-current-name (" conda:" conda-env-current-name " ")) '(conda-env-current-name (" conda:" conda-env-current-name " "))