diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-10-09 13:56:58 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-10-09 13:56:58 +0200 |
commit | e26c19b88906663fb66ca58d84b85ad336d84f49 (patch) | |
tree | a62272635a7fcdc775d3095030ac3dcb504eb607 /doc/misc | |
parent | 0691fdc410bf53eb82508d23ec19a1d4abda1c2a (diff) | |
download | emacs-e26c19b88906663fb66ca58d84b85ad336d84f49.tar.gz emacs-e26c19b88906663fb66ca58d84b85ad336d84f49.tar.bz2 emacs-e26c19b88906663fb66ca58d84b85ad336d84f49.zip |
* doc/misc/tramp.texi (Remote shell setup): Howto configure local shell.
Diffstat (limited to 'doc/misc')
-rw-r--r-- | doc/misc/tramp.texi | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index ba0545c38de..f34484ba711 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -2101,7 +2101,7 @@ be recomputed. To force @value{tramp} to recompute afresh, call @section Remote shell setup hints -@subsection Changing the default remote shell +@subsection Changing the default remote or local shell @cindex zsh setup Per default, @value{tramp} uses the command @command{/bin/sh} for @@ -2123,9 +2123,22 @@ remote login shell, like @option{sshx} or @option{plink}. See @ref{Inline methods} and @ref{External methods} for connection methods which support this. +@vindex tramp-sh-extra-args This approach has also the advantage, that settings in -@code{tramp-sh-extra-args} will be applied. For zsh, the trouble -with the shell prompt due to set zle options will be avoided. +@code{tramp-sh-extra-args} will be applied. For @command{zsh}, the +trouble with the shell prompt due to set zle options will be avoided. + +Similar problems can happen with the local shell Tramp uses to create +a process. Per default, it uses the command @command{/bin/sh} for +this, which could also be a link to another shell. In order to +overwrite this, you might apply + +@vindex tramp-encoding-shell +@lisp +(customize-set-variable 'tramp-encoding-shell "/usr/bin/zsh") +@end lisp + +This uses also the settings in @code{tramp-sh-extra-args}. @subsection Other remote shell setup hints |