diff --git a/.gitignore b/.gitignore index af48dc0b..905d46bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /music-normalize/venv/ /music-normalize/*.log /easyffmpeg/venv/ +/venv/ diff --git a/arch-config/.doom.d/config.el b/arch-config/.doom.d/config.el index f38fcb0c..9dfe7d00 100644 --- a/arch-config/.doom.d/config.el +++ b/arch-config/.doom.d/config.el @@ -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 + ) diff --git a/arch-config/.doom.d/packages.el b/arch-config/.doom.d/packages.el index b80e9cce..364c451b 100644 --- a/arch-config/.doom.d/packages.el +++ b/arch-config/.doom.d/packages.el @@ -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)