mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-11 10:31:13 +10:00
Adding a fancy prompt for eshell.
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
(propertize (if stat "]" ")") 'font-lock-face (list :foreground (if stat "#e81050" "#9bee8b"))))
|
(propertize (if stat "]" ")") 'font-lock-face (list :foreground (if stat "#e81050" "#9bee8b"))))
|
||||||
"")))
|
"")))
|
||||||
(propertize
|
(propertize
|
||||||
(format "%s %s %s$ "
|
(format "\n%s %s %s$ "
|
||||||
(if (< 0 x-stat) (format (propertize "!%s" 'font-lock-face '(:foreground "#e81050")) x-stat)
|
(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 "➤" 'font-lock-face (list :foreground (if (< 0 x-stat) "#e81050" "#9bee8b"))))
|
||||||
(propertize cwd 'font-lock-face '(:foreground "#45babf"))
|
(propertize cwd 'font-lock-face '(:foreground "#45babf"))
|
||||||
|
|||||||
Reference in New Issue
Block a user