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

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

Re: Prompt issue with tramp shell


From: Daniel Martín
Subject: Re: Prompt issue with tramp shell
Date: Sun, 18 Oct 2020 14:09:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Ergus <spacibba@aol.com> writes:

> Hi:
>
> I am trying to use a shell with tramp
>
> C-x C-f ssh:/....
> M-x shell
>
> then I select bash.
>
> and I have a problem that the prompt is shown twice like this:
>
> []0; user@host:/home/user ^G[user@host /home/user]$
>
> I am not sure if I need an extra config on emacs or in bash?

I can't reproduce the issue.  Check if you have a ~/.emacs_BASH or
~/.emacs.d/init_BASH.sh that may be configuring the prompt incorrectly.
You could also try to run /bin/sh instead; that will ignore any
~/.bashrc from the remote system.


reply via email to

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