gui-cs / Terminal.Gui

Cross Platform Terminal UI toolkit for .NET
MIT License
9.25k stars 673 forks source link

Tools (e.g. PS scripts) should not change my prompt #3464

Closed tig closed 3 weeks ago

tig commented 3 weeks ago

@dodexahedron please don't do this:

image

dodexahedron commented 3 weeks ago

What is that you guys are using, by the way? Looks nice.

BDisp commented 3 weeks ago

What is that you guys are using, by the way? Looks nice.

It's Oh My Posh see https://ohmyposh.dev/.

dodexahedron commented 3 weeks ago

Done in #3465

Alternate prompts didn't even occur to me, even though I use a custom one on my laptop already. Not sure what the actual thought process was behind sticking that in there, the night I wrote that, TBH. 😅

dodexahedron commented 3 weeks ago

Oh I remember. It was based on a powershell "application" I use that does similar stuff, and I had actually meant to leave it out and put it instead behind a flag.

But meh. No need at all anyway. So just took it out all the way.

dodexahedron commented 3 weeks ago

BTW just remove the module or exit the session if you didn't already, and that'll reset. Nothing is saved to your profile or anything.

dodexahedron commented 3 weeks ago

I've already stuck oh-my-posh on 12 different systems I've had to deal with since earlier.

I like. 👍