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
This commit is contained in:
parent
ba33a55822
commit
51889b299b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
;;;
|
||||
|
|
Loading…
Reference in a new issue