mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-24 18:35:22 -04:00
tramp: Use remotes PATH
Add `tramp-own-remote-path' to the front of `tramp-remote-path', so that the configuration on the host that we are connecting to is used when we are connecting to it. That may be a tautology but it's not the default. This matters especially when connecting to an "usual" system, such as Guix, as has been discussed a few times, including here: https://lists.gnu.org/archive/html/help-guix/2016-10/msg00041.html https://lists.gnu.org/archive/html/help-guix/2017-06/msg00106.html https://lists.gnu.org/archive/html/help-guix/2017-07/msg00003.html
This commit is contained in:
parent
da54398e2e
commit
a0540f27d9
4
init.el
4
init.el
@ -162,6 +162,10 @@
|
|||||||
vc-ignore-dir-regexp
|
vc-ignore-dir-regexp
|
||||||
tramp-file-name-regexp)))
|
tramp-file-name-regexp)))
|
||||||
|
|
||||||
|
(use-package tramp-sh
|
||||||
|
:defer t
|
||||||
|
:config (cl-pushnew 'tramp-own-remote-path tramp-remote-path))
|
||||||
|
|
||||||
(progn ; startup
|
(progn ; startup
|
||||||
(message "Loading %s...done (%.3fs)" user-init-file
|
(message "Loading %s...done (%.3fs)" user-init-file
|
||||||
(float-time (time-subtract (current-time)
|
(float-time (time-subtract (current-time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user