[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 714d9738cc 1/3: Fix Eshell working directory tracking
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 714d9738cc 1/3: Fix Eshell working directory tracking |
Date: |
Sat, 10 Dec 2022 13:58:35 -0500 (EST) |
branch: elpa/eat
commit 714d9738ccfd2e140e5aadfce23bca768f5a6804
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Fix Eshell working directory tracking
* eat.el (eat--eshell-local-mode): Call
'eat--eshell-update-cwd'.
* eat.el (eat-eshell-mode): Don't call
'eat--eshell-update-cwd'.
---
eat.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eat.el b/eat.el
index 2953aeb231..b8e58c49f1 100644
--- a/eat.el
+++ b/eat.el
@@ -5567,6 +5567,7 @@ sane 2>%s ; if [ $1 = .. ]; then shift; fi; exec \"$@\""
;; Make sure glyphless character don't display a huge box glyph,
;; that would break the display.
(eat--setup-glyphless-chars)
+ (eat--eshell-update-cwd)
(when eat-enable-blinking-text
(eat-blink-mode +1)))
(t
@@ -5659,7 +5660,6 @@ sane 2>%s ; if [ $1 = .. ]; then shift; fi; exec \"$@\""
(eat--eshell-local-mode +1))))
(add-hook 'eshell-mode-hook #'eat--eshell-local-mode)
(add-hook 'eshell-directory-change-hook #'eat--eshell-update-cwd)
- (eat--eshell-update-cwd)
(setq eshell-variable-aliases-list
`(("TERM" eat--eshell-term-name t)
("TERMINFO" eat-term-terminfo-directory t)