From 570734c9f0dcb7c1af2d149ec0a387adf016b7cf Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 21 Sep 2023 18:02:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index fed91cb..792d2a3 100644 --- a/init.el +++ b/init.el @@ -474,8 +474,8 @@ (diff-hl-margin-mode 1)) (use-package envrc - :after (inheritenv) - (envrc-global-mode)) + :config + (envrc-global-mode +1)) (use-package hl-todo :init @@ -505,9 +505,12 @@ (eshell-load . eat-eshell-visual-command-mode)) :bind (("C-c o e" . project-eshell))) +(use-package esh-autosuggest + :hook (eshell-mode . esh-autosuggest-mode)) + (use-package eshell-syntax-highlighting - :after eshell-mode - :ensure t + :custom + ((eshell-syntax-highlighting-highlight-in-remote-dirs nil)) :config (eshell-syntax-highlighting-global-mode +1)) @@ -519,7 +522,7 @@ (completion-list-mode . hide) help-mode compilation-mode - "^\\*emacs-eshell.*\\*$" eshell-mode ;eshell as a popup + "^\\*.+-eshell.*\\*$" eshell-mode ;eshell as a popup "^\\*shell.*\\*$" shell-mode ;shell as a popup "^\\*term.*\\*$" term-mode ;term as a popup "^\\*eat.*\\*$" eat-mode ;eat as a popup