Make TRAMP (and vterm over tramp) work better
Finally set TRAMP environment from remote .profile
This commit is contained in:
parent
c66126d0cf
commit
72a71caa6a
|
@ -126,26 +126,14 @@
|
||||||
'(("d" "default" plain "%?"
|
'(("d" "default" plain "%?"
|
||||||
:target (file+head "${slug}.org" "#+title: ${title}\n")))))
|
:target (file+head "${slug}.org" "#+title: ${title}\n")))))
|
||||||
|
|
||||||
|
;; VTERM settings
|
||||||
|
(after! vterm
|
||||||
|
(setq vterm-tramp-shells
|
||||||
|
'(("ssh" "/bin/bash")
|
||||||
|
("sshx" "/bin/bash"))))
|
||||||
|
|
||||||
;; TRAMP host specific configs
|
;; TRAMP host specific configs
|
||||||
(after! tramp
|
(after! tramp
|
||||||
(setq tramp-default-method "sshx"
|
(setq tramp-default-method "sshx"
|
||||||
tramp-default-remote-shell "/bin/bash"
|
tramp-default-remote-shell "/bin/sh"
|
||||||
tramp-remote-path '("~/.local/bin"
|
tramp-remote-path '(tramp-own-remote-path tramp-default-remote-path)))
|
||||||
"/run/wrappers/bin"
|
|
||||||
"/run/current-system/sw/bin"
|
|
||||||
tramp-default-remote-path
|
|
||||||
"/bin"
|
|
||||||
"/usr/bin"
|
|
||||||
"/sbin"
|
|
||||||
"/usr/sbin"
|
|
||||||
"/usr/local/bin"
|
|
||||||
"/usr/local/sbin"
|
|
||||||
"/local/bin"
|
|
||||||
"/local/freeware/bin"
|
|
||||||
"/local/gnu/bin"
|
|
||||||
"/usr/freeware/bin"
|
|
||||||
"/usr/pkg/bin"
|
|
||||||
"/usr/contrib/bin"
|
|
||||||
"/opt/bin"
|
|
||||||
"/opt/sbin"
|
|
||||||
"/opt/local/bin")))
|
|
||||||
|
|
Loading…
Reference in a new issue