On 3. 11. 2015 18:22, Daniel Goldman wrote:
> 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. :(

I didn't put much time into my first response. Let me try again:

When I run the following line, the mintty window title begins to show the value 
of $MSYSTEM and of $PWD.

PS1='\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]'

If you want to keep the actual prompt, run it like this:

PS1='\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]'"$PS1"

-- 
David Macek

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to