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'.
This commit is contained in:
parent
b6caebb0ab
commit
714d9738cc
1 changed files with 1 additions and 1 deletions
2
eat.el
2
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue