Commit f800de443013

Vincent Demeester <vincent@sbr.pm>
2022-09-01 15:36:27
tools/emacs: add 'tramp-own-remote-path to tramp-remote-path :D
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 6fdd836
Changed files (1)
tools
emacs
tools/emacs/config/config-shells.el
@@ -386,7 +386,8 @@ toggle, the current window configuration is saved in a register."
   (add-to-list 'tramp-remote-path "/etc/profiles/per-user/root/bin/")
   (add-to-list 'tramp-remote-path "/etc/profiles/per-user/vincent/bin/")
   (add-to-list 'tramp-remote-path "~/.nix-profile/bin")
-  (add-to-list 'tramp-remote-path "~/bin"))
+  (add-to-list 'tramp-remote-path "~/bin")
+  (add-to-list 'tramp-remote-path 'tramp-own-remote-path))
 
 (defun generic-term-init ()
   (visual-line-mode -1)