From e84a3c8f9b949a4a19944d17b9d18980906849bb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 14 Mar 2016 16:24:06 +0100 Subject: Emacs: Install projectile-direnv --- tag-emacs/emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tag-emacs') 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 -- cgit 1.4.1