[Emacs] Fix git prompt in Eshell
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lucien Cartier-Tilet 2020-10-22 02:03:30 +02:00
parent 070b61ef00
commit b97bbf8206
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 2 additions and 1 deletions

View File

@ -1945,7 +1945,8 @@
#+BEGIN_SRC emacs-lisp
(defun eshell/my-prompt ()
(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))
(concat (with-face " " :background $background)
(with-face $path