Commit 51889b29 authored by Vika's avatar Vika Committed by Lin Jian
Browse files

emacs: append /run/wrappers/bin to tramp-remote-path

This fixes cd-ing to `/sudo:localhost:` in eshell and executing
commands in that eshell via TRAMP.

Test case:
1. `M-x eshell`
2. `cd /sudo:localhost:`
3. Run any command that's not an eshell builtin
parent ba33a558
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -68,7 +68,9 @@ least specific (the system profile)"
  ;; TODO: We should also add the other `NIX_PROFILES' to this path.
  ;; However, these are user-specific, so we would need to discover
  ;; them dynamically after connecting via `tramp'
  '(add-to-list 'tramp-remote-path "/run/current-system/sw/bin"))
  '(progn
     (add-to-list 'tramp-remote-path "/run/current-system/sw/bin")
     (add-to-list 'tramp-remote-path "/run/wrappers/bin")))

;;; C source directory
;;;