File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,9 @@ the executable."
178
178
`vterm-tramp-shells' has to be a list of pairs of the format:
179
179
\( TRAMP-METHOD SHELL)
180
180
181
+ Use t as TRAMP-METHOD to specify a default shell for all methods.
182
+ Specific methods always take precedence over t.
183
+
181
184
Set SHELL to \\= 'login-shell to use the user's login shell on the host.
182
185
The login-shell detection currently works for POSIX-compliant remote
183
186
hosts that have the getent command (regular GNU/Linux distros, *BSDs,
@@ -889,6 +892,7 @@ for, or t to get the default shell for all methods."
889
892
(if (ignore-errors (file-remote-p default-directory))
890
893
(with-parsed-tramp-file-name default-directory nil
891
894
(or (vterm--tramp-get-shell method)
895
+ (vterm--tramp-get-shell t )
892
896
(with-connection-local-variables shell-file-name)
893
897
vterm-shell))
894
898
vterm-shell))
You can’t perform that action at this time.
0 commit comments