From b97bbf82066a06848596161946b52ae14f11cf8a Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 22 Oct 2020 02:03:30 +0200 Subject: [PATCH] [Emacs] Fix git prompt in Eshell --- org/config/emacs.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index d39165d..be2fd42 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -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