ENH don't use pyenv hook unless we need it

This commit is contained in:
Nathan Dwarshuis 2023-10-06 16:43:14 -04:00
parent e18db58d0c
commit 94c67f76eb
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,6 @@ Note that all my checkers/formatters/interactive shells are managed through =con
(python-mode . company-mode)
(python-mode . nd/init-anaconda-company)
(python-mode . blacken-mode)
(python-mode . pyenv-mode)
(inferior-python-mode . company-mode)
(inferior-python-mode . nd/init-anaconda-company))
:config
@ -1049,6 +1048,7 @@ Note this also requires all external packages to be installed in each environeme
(use-package pyenv-mode
:straight t
:after python
:hook ((python-mode . pyenv-mode))
:init (-some--> (getenv "PYENV_ROOT")
(f-join it "versions")
(add-to-list 'exec-path it)))