Syntax highlighting for eshell prompts (like fish)

This commit is contained in:
2024-09-19 15:20:38 -07:00
parent 486a9d25f4
commit 8e22c378d1

View File

@@ -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))