[Emacs] Fix git prompt in Eshell
This commit is contained in:
parent
070b61ef00
commit
b97bbf8206
@ -1945,7 +1945,8 @@
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun eshell/my-prompt ()
|
(defun eshell/my-prompt ()
|
||||||
(let* ((header-bg phundrak/nord0)
|
(let* ((header-bg phundrak/nord0)
|
||||||
($path (phundrak/abbr-pwd phundrak/prompt--abbreviate))
|
($path (phundrak/abbr-pwd))
|
||||||
|
($abbr-path (phundrak/abbr-pwd phundrak/prompt--abbreviate))
|
||||||
($background nord1))
|
($background nord1))
|
||||||
(concat (with-face " " :background $background)
|
(concat (with-face " " :background $background)
|
||||||
(with-face $path
|
(with-face $path
|
||||||
|
Loading…
Reference in New Issue
Block a user