diff --git a/emacs/init.org b/emacs/init.org index 5261e27..d3c1378 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2386,8 +2386,9 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th [[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)) - (add-hook 'eshell-directory-change-hook #'direnv-update-directory-environment) + :if (executable-find "direnv") + :config (direnv-mode) + (add-hook 'eshell-directory-change-hook #'direnv-update-directory-environment)) #+END_SRC * SQL Emacs has excellent built-in SQL support.