Re: A bug in Vim, in Mate Terminal or in Debian 11?
Em 19/09/2021 14:41, tomas@tuxteam.de escreveu:
> On Sun, Sep 19, 2021 at 01:58:16PM -0300, Dedeco Balaco wrote:
>>
>>
>>> tomas@trotzki:~$ echo $PS1
>>> \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
>>>
>>
>> There has been a lot of time that i use a fancy PS1. But it does not
>> touch the terminal title, it never did. I just worked in it to get a
>> satisfying informative prompt.
>
> Interesting. In my box it seems to be PS1 what is setting the
> term title...
>
That is because you use a <something> enclosed between "\e]0;" and "\]",
and i never wanted to do it. Notice that, in the PS1 value you gave
above, you have "\u@\h: \w\a\" written twice. This is because one (the
first) is to set the title, and another (the second) is to set the prompt.
Reply to: