summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.emacs.d/init.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index 6b28b59..f3310a9 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -63,14 +63,11 @@
(guix-load-path '("~/.guix/current/share/guile/site/3.0"))
(guix-load-compiled-path '("~/.guix/current/lib/guile/3.0/site-ccache")))
-(use-package inheritenv
- :config
- (inheritenv-add-advice 'shell-command-to-string)
- (inheritenv-add-advice 'shell))
-
+;; This config based on: https://amodernist.com/texts/emacs-guix.html
(use-package buffer-env
:config
(add-hook 'hack-local-variables-hook 'buffer-env-update)
+ (add-hook 'comint-mode-hook #'hack-dir-local-variables-non-file-buffer)
:custom
(buffer-env-script-name '("guix.scm" "manifest.scm")))