[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
eshell and eshell-directory-change-hook
From: |
Alexey Lebedeff |
Subject: |
eshell and eshell-directory-change-hook |
Date: |
Tue, 15 Nov 2016 14:50:48 +0300 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Hi,
Running remote commands through eshell starts to work only after doing
"cd" at least once. This is because some tramp setup happens in
eshell-directory-change-hook.
I'm not sure whether it should be fixed in tramp, by "(add-hook
'eshell-mode-hook 'tramp-eshell-directory-change)". Or in eshell, by
teaching it to invoke eshell-directory-change-hook during
initialization. And it's arguable whether eshell initialization can be
considered as a directory change or not =)
Best,
Alexey
- eshell and eshell-directory-change-hook,
Alexey Lebedeff <=