mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix prompt in remote shell
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Do not use a hard-coded directory in PS1. (Bug#81177)
This commit is contained in:
parent
6df1d33b6c
commit
621239ae6a
1 changed files with 1 additions and 1 deletions
|
|
@ -3081,7 +3081,7 @@ will be used."
|
|||
;; We discard hops, if existing, that's why we cannot use
|
||||
;; `file-remote-p'.
|
||||
(prompt (format "PS1=%s %s"
|
||||
(tramp-make-tramp-file-name v)
|
||||
(tramp-make-tramp-file-name v 'noloc)
|
||||
tramp-initial-end-of-output))
|
||||
;; We use as environment the difference to toplevel
|
||||
;; `process-environment'.
|
||||
|
|
|
|||
Loading…
Reference in a new issue