From 8e22c378d1ef32ee139751d7a4810e4826b101a1 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 19 Sep 2024 15:20:38 -0700 Subject: [PATCH] Syntax highlighting for eshell prompts (like fish) --- thoom-emacs/modules/thoom-eshell.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/thoom-emacs/modules/thoom-eshell.el b/thoom-emacs/modules/thoom-eshell.el index 5a412f2..ad7d236 100644 --- a/thoom-emacs/modules/thoom-eshell.el +++ b/thoom-emacs/modules/thoom-eshell.el @@ -94,3 +94,9 @@ any directory proferred by `consult-dir'." (eshell-p10k-def-prompt '(num-exitcode time dir git))) (setq eshell-prompt-function #'eshell-p10k-prompt-function eshell-prompt-regexp eshell-p10k-prompt-string)) + +(use-package eshell-syntax-highlighting + :after eshell-mode + :ensure t + :config + (eshell-syntax-highlighting-global-mode +1))