"Michael Albinus" <address@hidden>À:
"Kai Großjohann" <address@hidden>Cc:
"Guillaume KOENIG" <address@hidden>, address@hiddenEnvoyé:
Samedi 15 Novembre 2014 16:57:55Objet:
Re: tramp remote shell history
"Kai Großjohann" <address@hidden> writes:
> Hi Guillaume,
> The shell connection established by Tramp is not intended for
> interactive use. The idea is that Tramp itself uses it in the
> background to transfer the files and to get a list of directories for
> filename completion and suchlike. So from that perspective, I think
> shell history is not needed -- the Emacs built-in history of C-x C-f
> and the like should be sufficient.
Indeed, that's the majority of entries which would go into
.history. People have complained about, and Tramp disables shell history
by default, therefore.
If you want to get the history of your actions after running "M-x
shell", you could reset it in that shell by setting $HISTFILE to a
If you run "M-x eshell", no special actions are needed, because eshell
keeps its own history.
Best regards, Michael.