Compare commits

...

2 Commits

Author SHA1 Message Date
1e45aa12dd Change username 2023-06-21 20:46:16 +02:00
7f82df2149 Add auto-virtualenv to automatically activate python venv 2023-06-21 20:45:54 +02:00
3 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/music-normalize/venv/
/music-normalize/*.log
/easyffmpeg/venv/
/venv/

View File

@ -6,7 +6,7 @@
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "RealStickman"
(setq user-full-name "exu"
user-mail-address "mrc@frm01.net")
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
@ -91,3 +91,11 @@
;; Disable formatter for php
(setq-hook! 'php-mode-hook +format-with :none)
; auto-virtualenv package configuration
(use-package! auto-virtualenv
:init
:config
(add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv)
(add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile
)

View File

@ -48,3 +48,6 @@
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
;; auto-virtualenv package install
(package! auto-virtualenv)