Jaykul / PowerLine

A more PowerShell prompt
MIT License
567 stars 31 forks source link

I want to set the Host title to my own custom string #3

Closed rkeithhill closed 8 years ago

rkeithhill commented 8 years ago

Right now PowerLineBlock.SetTitle isn't flexible enough. Perhaps you could add property that takes a scriptblock that would get invoked to provide text to display in the Host's titlebar.

Jaykul commented 8 years ago

Yes! My intention was to do exactly that. I'm not sure why I did it as a switch, except that originally, there wasn't even a switch, because I was thinking that probably people would still use their own prompt functions, not mine...

Jaykul commented 8 years ago

Made it a scriptblock while I was breaking everything in v2.0.0