[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp remote shell history
From: |
Michael Albinus |
Subject: |
Re: tramp remote shell history |
Date: |
Sat, 15 Nov 2014 16:57:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Kai Großjohann" <address@hidden> writes:
> Hi Guillaume,
Hi,
> 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
proper value.
If you run "M-x eshell", no special actions are needed, because eshell
keeps its own history.
> Kai
Best regards, Michael.