diff options
| -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 | |||
| 2101 | @section Remote shell setup hints | 2101 | @section Remote shell setup hints |
| 2102 | 2102 | ||
| 2103 | 2103 | ||
| 2104 | @subsection Changing the default remote shell | 2104 | @subsection Changing the default remote or local shell |
| 2105 | @cindex zsh setup | 2105 | @cindex zsh setup |
| 2106 | 2106 | ||
| 2107 | Per default, @value{tramp} uses the command @command{/bin/sh} for | 2107 | 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 | |||
| 2123 | @ref{Inline methods} and @ref{External methods} for connection methods | 2123 | @ref{Inline methods} and @ref{External methods} for connection methods |
| 2124 | which support this. | 2124 | which support this. |
| 2125 | 2125 | ||
| 2126 | @vindex tramp-sh-extra-args | ||
| 2126 | This approach has also the advantage, that settings in | 2127 | This approach has also the advantage, that settings in |
| 2127 | @code{tramp-sh-extra-args} will be applied. For zsh, the trouble | 2128 | @code{tramp-sh-extra-args} will be applied. For @command{zsh}, the |
| 2128 | with the shell prompt due to set zle options will be avoided. | 2129 | trouble with the shell prompt due to set zle options will be avoided. |
| 2130 | |||
| 2131 | Similar problems can happen with the local shell Tramp uses to create | ||
| 2132 | a process. Per default, it uses the command @command{/bin/sh} for | ||
| 2133 | this, which could also be a link to another shell. In order to | ||
| 2134 | overwrite this, you might apply | ||
| 2135 | |||
| 2136 | @vindex tramp-encoding-shell | ||
| 2137 | @lisp | ||
| 2138 | (customize-set-variable 'tramp-encoding-shell "/usr/bin/zsh") | ||
| 2139 | @end lisp | ||
| 2140 | |||
| 2141 | This uses also the settings in @code{tramp-sh-extra-args}. | ||
| 2129 | 2142 | ||
| 2130 | 2143 | ||
| 2131 | @subsection Other remote shell setup hints | 2144 | @subsection Other remote shell setup hints |