Commit ac8ddb8127e1

Vincent Demeester <vincent@sbr.pm>
2020-03-31 19:54:24
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>
1 parent 4001092
Changed files (1)
tools
emacs
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)