Subject: bug#31355: 26.1; [PATCH] Fix remote-host/tramp directory tracking for shells in `term' buffers

From: Phil Sainty <[email-masked]>
Date: Fri, 04 May 2018 02:00:11 +1200

Or if I'm reading the NEWS correctly:

> *** The new pseudo method "-" is a marker for the default method.
> "/-::" is the shortest remote file name then.

I should actually have made the following change?

-                     (concat "/" term-ansi-at-host ":" 
term-ansi-at-dir)
-                   (concat "/" term-ansi-at-user "@" term-ansi-at-host 
":"
+                     (concat "/-:" term-ansi-at-host ":" 
term-ansi-at-dir)
+                   (concat "/-:" term-ansi-at-user "@" 
term-ansi-at-host ":"