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

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

Re: Tramp prompt (?) issue


From: Michael Albinus
Subject: Re: Tramp prompt (?) issue
Date: Thu, 30 Jul 2020 11:51:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

Hi Emanuel,

>> I tried this but it is the same issue, both systems:
>>
>> [[ $TERM == "dumb" ]] && PROMPT='$ ' && PS1=$PROMPT
>
> Here are the debug logs from this attempt:
>
>   https://dataswamp.org/~incal/tramp-debug/2/
>
> And the file that sets PROMPT and PS1:
>
>   https://dataswamp.org/~incal/conf/.zsh/prompt

Ah, you didn't say that it is zsh on the remote side. This case, you
shall add to your remote ~/.zshrc

--8<---------------cut here---------------start------------->8---
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.



reply via email to

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