Syntax highlighting for eshell prompts (like fish)
This commit is contained in:
@@ -94,3 +94,9 @@ any directory proferred by `consult-dir'."
|
|||||||
(eshell-p10k-def-prompt '(num-exitcode time dir git)))
|
(eshell-p10k-def-prompt '(num-exitcode time dir git)))
|
||||||
(setq eshell-prompt-function #'eshell-p10k-prompt-function
|
(setq eshell-prompt-function #'eshell-p10k-prompt-function
|
||||||
eshell-prompt-regexp eshell-p10k-prompt-string))
|
eshell-prompt-regexp eshell-p10k-prompt-string))
|
||||||
|
|
||||||
|
(use-package eshell-syntax-highlighting
|
||||||
|
:after eshell-mode
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(eshell-syntax-highlighting-global-mode +1))
|
||||||
|
|||||||
Reference in New Issue
Block a user