Remove timestamp from eshell-prompt and change colour of directories

This commit is contained in:
2024-10-16 16:33:13 +01:00
parent f1b4f6eed4
commit 3568ffd9d3

View File

@@ -27,7 +27,7 @@
(defvar +eshell-prompt/user-prompt "𝜆> "
"Prompt for user to input.")
(defvar +eshell-prompt/dir-colour "forestgreen")
(defvar +eshell-prompt/dir-colour "skyblue")
(defvar +eshell-prompt/success-colour "forestgreen")
(defvar +eshell-prompt/failure-colour "red")
@@ -108,9 +108,7 @@ form (BRANCH-NAME<CHANGES>[REMOTE-STATUS])."
"]"
(if (string= git "")
""
(concat "-" git ""))
"\n"
`(,(format-time-string "[%H:%M:%S]") :foreground "purple")
(concat " " git))
"\n"
(list "𝜆> " ':foreground (+eshell-prompt/--colour-on-last-command))))))