Hi Michael!

On 06/03/2013 04:21 PM, Michael Albinus wrote:
>> > export PROMPT='[%n@%m]: %~ $ '
> Yes, but your prompt uses escape sequences. It looks like:
> 
> ^[[0m^[[m^[[m^[[J[sschmitt@higgs]: ~ $ ^[[K
> 
> And the escape sequences contain literal "[" characters. When Tramp
> allows "[...]" style prompts, it is confused by those "[" characters. So
> you shall convince the remote prompt to get rid of it.

Probably it's obvious to everybody but not me. Where does '[%n@%m]: %~ $
' contain escape sequences? Does zsh silently add them at a later step?

Best,

Sebastian

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to