diff options
| author | Florian Rommel <mail@florommel.de> | 2024-06-22 00:36:56 +0200 |
|---|---|---|
| committer | Gabriele Bozzola <sbozzolator@gmail.com> | 2024-12-17 19:31:26 -0800 |
| commit | 0b4ac71dd7bca96fc487e0afb8d359fb68d395a0 (patch) | |
| tree | 2e563b985cebb415840e70a461cd8c0f5dd81abb /vterm.el | |
| parent | c1a30176d4ba8c33e25c9dc841b141f3bf0ddadd (diff) | |
Add wildcard for vterm-tramp-shells
Lets the user specify a shell for all Tramp methods.
Diffstat (limited to 'vterm.el')
| -rw-r--r-- | vterm.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -178,6 +178,9 @@ the executable." `vterm-tramp-shells' has to be a list of pairs of the format: \(TRAMP-METHOD SHELL) +Use t as TRAMP-METHOD to specify a default shell for all methods. +Specific methods always take precedence over t. + Set SHELL to \\='login-shell to use the user's login shell on the host. The login-shell detection currently works for POSIX-compliant remote 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." (if (ignore-errors (file-remote-p default-directory)) (with-parsed-tramp-file-name default-directory nil (or (vterm--tramp-get-shell method) + (vterm--tramp-get-shell t) (with-connection-local-variables shell-file-name) vterm-shell)) vterm-shell)) |
