From 94c67f76eb47f3dd1dde43a7b055f9ea5d0692c1 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Fri, 6 Oct 2023 16:43:14 -0400 Subject: [PATCH] ENH don't use pyenv hook unless we need it --- etc/conf.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/conf.org b/etc/conf.org index ff91157..c71a0e8 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -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)))