Configure tramp to find correct remote-path when logging-in on sting.
This commit is contained in:
@@ -155,6 +155,9 @@
|
||||
(use-package swiper)
|
||||
(load "~/.emacs.d/elisp/ivy-setup.el")
|
||||
|
||||
;;TRAMP
|
||||
(load "~/.emacs.d/elisp/tramp-setup.el")
|
||||
|
||||
(load "~/.emacs.d/elisp/outline-keymap.el")
|
||||
(load "~/.emacs.d/elisp/bibtex-setup.el")
|
||||
(load "~/.emacs.d/elisp/keypad.el")
|
||||
|
||||
10
elisp/tramp-setup.el
Normal file
10
elisp/tramp-setup.el
Normal file
@@ -0,0 +1,10 @@
|
||||
(setq sting-local-path "/run/setuid-programs:/home/mprodrigues/.config/guix/current/bin:/home/mprodrigues/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin")
|
||||
|
||||
(connection-local-set-profile-variables 'sting-remote-path
|
||||
'((tramp-remote-path . (tramp-own-remote-path
|
||||
sting-local-path
|
||||
tramp-default-remote-path))))
|
||||
|
||||
(connection-local-set-profiles
|
||||
'(:application tramp :user "mprodrigues" :machine "78.141.218.197")
|
||||
'sting-remote-path)
|
||||
Reference in New Issue
Block a user