Set WORKON_HOME environment variable for pyvenv usability
Again inspired by https://ddavis.io/posts/emacs-python-lsp/.
This commit is contained in:
parent
0d2897dff7
commit
32cb502915
3
init.el
3
init.el
@ -3004,7 +3004,8 @@ With given ARG, display files in `db/important-document-path’."
|
|||||||
;; https://ddavis.io/posts/emacs-python-lsp/
|
;; https://ddavis.io/posts/emacs-python-lsp/
|
||||||
(use-package pyvenv
|
(use-package pyvenv
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (pyvenv-workon pyvenv-activate))
|
:commands (pyvenv-workon pyvenv-activate)
|
||||||
|
:init (setenv "WORKON_HOME" (expand-file-name "~/.pyenv/versions")))
|
||||||
|
|
||||||
(use-package shr
|
(use-package shr
|
||||||
:init (setq shr-use-fonts nil
|
:init (setq shr-use-fonts nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user