From 02885b2e58838b0c716d753af469cd3e493d5247 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 24 Aug 2024 10:49:14 +0300 Subject: emacs: eshell: Update syntax highlighting config. --- .config/emacs/init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index d6ee8be..0d0594b 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -696,7 +696,10 @@ (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))) (use-package eshell-syntax-highlighting - :defer t) + :ensure t + :after eshell + :config + (eshell-syntax-highlighting-global-mode 1)) (use-package emojify :ensure t @@ -774,14 +777,12 @@ (use-package eshell :config (setf eshell-highlight-prompt t) - (eshell-syntax-highlighting-global-mode 1) :bind (("C-c e" . eshell) :map eshell-mode-map ("C-l" . 'thanos/eshell-clear)) :hook ((eshell-mode . (lambda () (thanos/set-eshell-aliases thanos/aliases) - (when (bound-and-true-p display-line-numbers-mode) - (display-line-numbers-mode -1)))))) + (display-line-numbers-mode -1))))) (use-package eshell-git-prompt :straight nil -- cgit v1.2.3