[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp remote shell history

From: Guillaume KOENIG
Subject: Re: tramp remote shell history
Date: Sun, 16 Nov 2014 22:56:56 +0100 (CET)

Kai, Michael,

Thanks for your replies. I understand that disabling history is a feature.

I still like to have it, and had luck by resetting HISTFILE as suggested. Adding an entry to .emacs.d/ did it.

Best regards and thanks for tramp.

De: "Michael Albinus" <address@hidden>
À: "Kai Großjohann" <address@hidden>
Cc: "Guillaume KOENIG" <address@hidden>, address@hidden
Envoyé: Samedi 15 Novembre 2014 16:57:55
Objet: 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
proper value.

If you run "M-x eshell", no special actions are needed, because eshell
keeps its own history.

> Kai

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]