help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help setting TRAMP prompt pattern


From: Luca Ferrari
Subject: help setting TRAMP prompt pattern
Date: Thu, 8 Feb 2024 14:14:43 +0100

Hi all,
again, I'm fighting against TRAMP and a remote host having zsh. If, on
the same machine, TRAMP connects to a Bash shell everything works as
expected, however if connecting to a zsh prompt it hangs.

Bash prompt:
[luca@rachel ~]$ echo $PS1
[\u@\h \W]\$

Zsh prompt
[luca@rachel]~% echo $PROMPT
[%n@%m]%~%#

Tramp tramp-shell-prompt-pattern
"\\(?:^\\|
\\)[^]#$%>
]*#?[]#$%>] *\\( \\[[[:digit:];]*[[:alpha:]] *\\)*"

Emacs version 28.2, Tramp version 2.5.3.28.2.

How can I get the prompt sequence to adjust the pattern?

Thanks,
Luca




E



reply via email to

[Prev in Thread] Current Thread [Next in Thread]