commit 4294b3ac813e266ddef62e841f679b119760f607
parent 061dc0d69c1703833a0183205c330175b03c8351
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 21 Aug 2020 16:50:20 +0200
tools/emacs: load em-tramp and …
… add more stuff to tramp-remote-path
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-shells.el b/tools/emacs/config/config-shells.el
@@ -150,6 +150,9 @@ The EShell is renamed to match that directory to make multiple windows easier."
:after eshell
:config (setq eshell-hist-ignoredups t))
+(use-package em-tramp
+ :after eshell)
+
(use-package em-term
:after eshell
:config
@@ -296,6 +299,8 @@ toggle, the current window configuration is saved in a register."
(setq-default tramp-use-ssh-controlmaster-options nil ; Don't override SSH config.
tramp-default-method "ssh") ; ssh is faster than scp and supports ports.
(add-to-list 'tramp-remote-path "/run/current-system/sw/bin")
+ (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"))