commit ac8ddb8127e19681675ad747d45fc104e6706f31
parent 40010920112b454286e912455f3454aabacb20ac
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 31 Mar 2020 19:54:24 +0200
setup-shells.el: add nix tramp-remote-path 😛
So that I can use tramp easily with a NixOS system (and a system that
is managed by home-manager too)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/setup-shells.el b/tools/emacs/config/setup-shells.el
@@ -247,4 +247,10 @@ using either KUBECONFIG or ~/.kube/config"
;; for fish in ansi-term
(add-hook 'term-mode-hook 'toggle-truncate-lines)
+(use-package tramp
+ :config
+ (add-to-list 'tramp-remote-path "/run/current-system/sw/bin")
+ (add-to-list 'tramp-remote-path "~/.nix-profile/bin")
+ (add-to-list 'tramp-remote-path "~/bin"))
+
(provide 'setup-shells)