Set the default directory for python virtualenvs
This commit is contained in:
parent
0eabc99422
commit
924c74fb7a
@ -146,6 +146,11 @@
|
|||||||
;; Rainbow delimiters in all prog-mode buffers.
|
;; Rainbow delimiters in all prog-mode buffers.
|
||||||
(add-hook! prog-mode #'rainbow-delimiters-mode-enable)
|
(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.
|
;; Make TRAMP easier to use for sudo on remote hosts.
|
||||||
(after! tramp
|
(after! tramp
|
||||||
;; Proxy all sudo connections via an ssh connection to the provided hostname.
|
;; Proxy all sudo connections via an ssh connection to the provided hostname.
|
||||||
|
Loading…
Reference in New Issue
Block a user