mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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
@ -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 New Issue
Block a user