Only load direnv if it's installed
This commit is contained in:
parent
1725afbb60
commit
2d21a6b697
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user