diff options
author | Thanos Apollo <[email protected]> | 2024-08-24 10:49:14 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-24 10:49:14 +0300 |
commit | 02885b2e58838b0c716d753af469cd3e493d5247 (patch) | |
tree | 97c4f53e384cf094b9d10da404bc8b93ffb72b47 /.config/emacs/init.el | |
parent | a5dc2a5450b8ea94090515c656cb884b699378ba (diff) |
emacs: eshell: Update syntax highlighting config.
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r-- | .config/emacs/init.el | 9 |
1 files 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 |