From e8867d752dbf59fbc1b7db8445b72210cadeb4c6 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 5 Feb 2019 06:12:38 -0500 Subject: [PATCH] Use direnv mode --- emacs/init.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 0c43e93..4a91148 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2363,3 +2363,9 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th (leader-def-key "aed" 'emms-play-directory-tree)) #+END_SRC +* Direnv +[[https://direnv.net/][Direnv]] automatically runs bash scripts when you enter certain directories. This sets it up to work with Emacs: +#+BEGIN_SRC emacs-lisp + (use-package direnv + :config (direnv-mode)) +#+END_SRC