summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 036bfb2..a87a2dd 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -447,6 +447,14 @@ based upon some folder conventions I use.
                     projectile-completion-system 'ivy)))
 #+END_SRC
 
+I use [[https://github.com/direnv/direnv][direnv]] to automatically assign environment variables in project
+directories.  Now I can have them set inside emacs too.
+
+#+BEGIN_SRC emacs-lisp
+  (use-package projectile-direnv
+    :config (add-hook 'projectile-mode-hook #'projectile-direnv-export-variables))
+#+END_SRC
+
 ** perspective
 
 This package makes buffer-switching inside of projects make sense, by