diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-07-22 13:04:14 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-07-22 13:04:14 +0200 |
commit | 7f95d2d40726b4fb4a2ba1b8c373f3498e286d34 (patch) | |
tree | 6c11f1ac14027e5bec0c71abcec6b31f2a082e01 /doc/emacs | |
parent | 8e0ebb9a3cb9beef2f5ff50436fef1c54a3e3c92 (diff) | |
download | emacs-7f95d2d40726b4fb4a2ba1b8c373f3498e286d34.tar.gz emacs-7f95d2d40726b4fb4a2ba1b8c373f3498e286d34.tar.bz2 emacs-7f95d2d40726b4fb4a2ba1b8c373f3498e286d34.zip |
Support history files in remote shells (Bug#36742)
* doc/emacs/misc.texi (Shell Ring): Mention history file for
remote shells.
* lisp/shell.el (shell--start-prog): New buffer-local variable.
(shell): Set it.
(shell-mode): Handle history file for remote shells. (Bug#36742)
Diffstat (limited to 'doc/emacs')
-rw-r--r-- | doc/emacs/misc.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 9339626cc45..5877c4b0de1 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1253,13 +1253,18 @@ history list, not from the shell buffer itself. Thus, editing the shell buffer, or even killing large parts of it, does not affect the history that these commands access. -@vindex shell-input-ring-file-name +@vindex comint-input-ring-file-name Some shells store their command histories in files so that you can refer to commands from previous shell sessions. Emacs reads the command history file for your chosen shell, to initialize its own command history. The file name is @file{~/.bash_history} for bash, @file{~/.sh_history} for ksh, and @file{~/.history} for other shells. +@vindex tramp-histfile-override + If you run the shell on a remote host, this setting might be +overwritten by the variable @code{tramp-histfile-override}. It is +recommended to set this variable to @code{nil}. + @node Shell History Copying @subsubsection Shell History Copying |