diff options
Diffstat (limited to '.config')
-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 |