I never said PS1 wasn't powerful, I am proficient. I wasn't even asking
about PS1. BTW, just out of curiosity, I tried your suggestion. A blank
PS1 resulted. :(
Could someone please address my suggestion / question, which is about
the mintty title? :) Thanks.
On 11/3/2015 12:14 AM, David Macek wrote:
> On 2. 11. 2015 23:59, Daniel Goldman wrote:
>> My mintty window says "/usr/bin/bash --login" at the top.
>>
>> I'd like to know at a glance whether MSYS, MINGW32, or MINGW64 shell. I
>> know how to do that in PS1. That would be OK.
>>
>> My suggestion / question is whether some way to customize the top of the
>> mintty window, either I can do it or the maintainers when they build
>> mintty. To me, "/usr/bin/bash --login" doesn't seem at all helpful or
>> informative. But maybe I'm missing something.
>
> PS1 is more powerful than you may think. Try this (taken from Git from
> Windows):
>
> PS1='\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]'
>
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users