[Emacs] Fix git prompt in Eshell

This commit is contained in:
2020-10-22 02:03:30 +02:00
parent 070b61ef00
commit b97bbf8206

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