Skip to content

Commit f64729e

Browse files
florommelSbozzolo
authored andcommitted
Try running the login shell by default for "ssh" and "scp" methods
This will fall back to Tramp's shell if the login shell cannot be determined.
1 parent 0b4ac71 commit f64729e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vterm.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ the executable."
172172
:type 'string
173173
:group 'vterm)
174174

175-
(defcustom vterm-tramp-shells '(("docker" "/bin/sh"))
175+
(defcustom vterm-tramp-shells
176+
'(("ssh" login-shell) ("scp" login-shell) ("docker" "/bin/sh"))
176177
"The shell that gets run in the vterm for tramp.
177178
178179
`vterm-tramp-shells' has to be a list of pairs of the format:

0 commit comments

Comments
 (0)