(Emacs/elisp)~eshell-prompt for git changes

This commit is contained in:
2024-06-28 00:26:47 +01:00
parent 49580df219
commit d9863a069a

View File

@@ -54,9 +54,9 @@ behind or ahead the local repository is."
(concat (concat
(cond (cond
((string= status "ahead") ((string= status "ahead")
(propertize " " 'font-lock-face '(:foreground "dodger blue"))) (propertize "" 'font-lock-face '(:foreground "dodger blue")))
((string= status "behind") ((string= status "behind")
(propertize " " 'font-lock-face '(:foreground "orange red")))) (propertize "" 'font-lock-face '(:foreground "orange red"))))
n))))) n)))))
(defun +eshell-prompt/--git-change-status () (defun +eshell-prompt/--git-change-status ()