Set the default directory for python virtualenvs

This commit is contained in:
Wojciech Kozlowski 2022-04-11 00:06:16 +02:00
parent 0eabc99422
commit 924c74fb7a

View File

@ -146,6 +146,11 @@
;; Rainbow delimiters in all prog-mode buffers.
(add-hook! prog-mode #'rainbow-delimiters-mode-enable)
;; Make pyvenv more convenient by defaulting to the correct directory.
(after! pyvenv
(setq pyvenv-default-virtual-env-name
(file-name-as-directory (pyvenv-workon-home))))
;; Make TRAMP easier to use for sudo on remote hosts.
(after! tramp
;; Proxy all sudo connections via an ssh connection to the provided hostname.