Adding a fancy prompt for eshell.

This commit is contained in:
Derek Taylor
2024-10-03 20:46:02 -05:00
parent 2d52241d45
commit 621d8828a1

View File

@@ -19,7 +19,7 @@
(propertize (if stat "]" ")") 'font-lock-face (list :foreground (if stat "#e81050" "#9bee8b"))))
"")))
(propertize
(format "%s %s %s$ "
(format "\n%s %s %s$ "
(if (< 0 x-stat) (format (propertize "!%s" 'font-lock-face '(:foreground "#e81050")) x-stat)
(propertize "" 'font-lock-face (list :foreground (if (< 0 x-stat) "#e81050" "#9bee8b"))))
(propertize cwd 'font-lock-face '(:foreground "#45babf"))